mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
bdebb99b5a
* fixup build * swap frontends
43 lines
1007 B
Plaintext
43 lines
1007 B
Plaintext
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"vitest-globals/env": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:vitest-globals/recommended", "preact", "prettier"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"jest": {
|
|
"version": 27
|
|
}
|
|
},
|
|
"ignorePatterns": ["*.d.ts"],
|
|
"rules": {
|
|
"comma-dangle": [
|
|
"error",
|
|
{
|
|
"objects": "always-multiline",
|
|
"arrays": "always-multiline",
|
|
"imports": "always-multiline"
|
|
}
|
|
],
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
|
|
"no-console": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.{ts,tsx}"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"]
|
|
}
|
|
]
|
|
}
|