mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-04 18:08:50 +03:00
sync lint settings
This commit is contained in:
+4
-1
@@ -14,7 +14,10 @@
|
|||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"indent": ["error", 2, { "SwitchCase": 1 }],
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
||||||
"comma-dangle": ["error", { "objects": "always-multiline", "arrays": "always-multiline" }],
|
"comma-dangle": [
|
||||||
|
"error",
|
||||||
|
{ "objects": "always-multiline", "arrays": "always-multiline", "imports": "always-multiline" }
|
||||||
|
],
|
||||||
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
|
||||||
"no-console": "error"
|
"no-console": "error"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user