refresh some editor configs and such

This commit is contained in:
Scott Lamb 2020-12-22 23:37:44 -08:00
parent aab36bb5b6
commit b2bf7bdfa4
6 changed files with 12 additions and 126 deletions

View File

@ -1,2 +1,3 @@
node_modules
target
ui-dist

4
.gitignore vendored
View File

@ -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

View File

@ -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"
}
}
}

View File

@ -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"
}
}
]
}

11
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"editor.rulers": [
80,
{
"column": 100,
"color": "#cc8888"
}
],
"rust-analyzer.inlayHints.enable": false
}

View File

@ -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"
}
}
}
}