mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
14d2b79c72
* use safeloader * use json responses wherever possible * remove CORS and add CSRF token * formatting fixes * add envjs back * fix baseurl test
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"]
|
|
}
|
|
]
|
|
}
|