diff --git a/.dockerignore b/.dockerignore index 4679402..0ddbf08 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ node_modules +target ui-dist diff --git a/.gitignore b/.gitignore index 723a7ed..cbc053a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,8 @@ -cameras.sql .DS_Store -.project -.settings *.swp *.sublime-workspace node_modules prep.config -settings-nvr-local.js db/schema.rs target ui-dist diff --git a/.jsbeautifyrc b/.jsbeautifyrc deleted file mode 100644 index 74d87d6..0000000 --- a/.jsbeautifyrc +++ /dev/null @@ -1,43 +0,0 @@ -{ - "indent_size": 2, - "indent_char": " ", - "indent_with_tabs": false, - "eol": "\n", - "end_with_newline": true, - "indent_level": 0, - "preserve_newlines": true, - "max_preserve_newlines": 4, - "space_in_paren": false, - "space_in_empty_paren": false, - "jslint_happy": false, - "space_after_anon_function": false, - "brace_style": "collapse,preserve-inline", - "unindent_chained_methods": false, - "break_chained_methods": false, - "keep_array_indentation": false, - "unescape_strings": false, - "wrap_line_length": 0, - "e4x": false, - "comma_first": false, - "operator_position": "before-newline", - "js": { - "indent_size": 2, - "indent_char": " ", - "indent_with_tabs": false - }, - "json": { - "brace_style": "expand", - "keep_array_indentation": false, - "unescape_strings": false - }, - "custom": { - "package?(-lock).json": { - "indent_size": 2, - "brace_style": "collapse" - }, - "*.sublime-@(settings|keymap|commands|menu)": { - "indent_size": 4, - "brace_style": "expand" - } - } -} diff --git a/.prettierrc.json b/.prettierrc.json deleted file mode 100644 index 642e70a..0000000 --- a/.prettierrc.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "printWidth": 80, - "singleQuote": false, - "trailingComma": "none", - "bracketSpacing": true, - "jsxBracketSameLine": false, - "parser": "babylon", - "semi": true, - "requirePragma": false, - "proseWrap": "preserve", - "arrowParens": "avoid", - "tabWidth": 4, - "overrides": [ - { - "files": ["*.js"], - "options": { - "tabWidth": 2, - "useTabs": false, - "singleQuote": true, - "trailingComma": "es5", - "bracketSpacing": true, - "semi": true, - "arrowParens": "always" - } - }, - { - "files": ["*.json", "moonfire.sublime-project"], - "options": { - "parser": "json", - "tabWidth": 4, - "useTabs": false, - "singleQuote": false, - "trailingComma": "none" - } - } - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..bd0d79e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "editor.rulers": [ + + 80, + { + "column": 100, + "color": "#cc8888" + } + ], + "rust-analyzer.inlayHints.enable": false +} \ No newline at end of file diff --git a/moonfire.sublime-project b/moonfire.sublime-project deleted file mode 100644 index 17839ee..0000000 --- a/moonfire.sublime-project +++ /dev/null @@ -1,42 +0,0 @@ -{ - "folders": [ - { - "path": ".", - "folder_exclude_patterns": [ - "design", - "ffmpeg", - "node_modules", - "ui-dist" - ], - "file_exclude_patterns": ["*.png", "*.jpg", "*.gif"] - } - ], - "settings": { - "js_prettier": { - "additional_cli_args": { - "--config-precedence": "prefer-file" - }, - "debug": true, - "prettier_cli_path": "", - "node_path": "", - "auto_format_on_save": false, - "auto_format_on_save_excludes": [], - "auto_format_on_save_requires_prettier_config": false, - "allow_inline_formatting": false, - "custom_file_extensions": [], - "max_file_size_limit": -1, - "prettier_options": { - "printWidth": 80, - "singleQuote": false, - "trailingComma": "none", - "bracketSpacing": true, - "jsxBracketSameLine": false, - "parser": "babylon", - "semi": true, - "requirePragma": false, - "proseWrap": "preserve", - "arrowParens": "avoid" - } - } - } -}