mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-12-29 11:01:21 +08:00
26 lines
658 B
JSON
26 lines
658 B
JSON
{
|
|
"rules": {
|
|
"no-console": "error",
|
|
"camelcase": "warn",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-empty-function": "warn",
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
"@typescript-eslint/no-unused-vars": "warn"
|
|
},
|
|
"extends": [
|
|
"react-app",
|
|
"plugin:react-hooks/recommended",
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"plugins": ["testing-library"],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"**/__tests__/**/*.[jt]s?(x)",
|
|
"**/?(*.)+(spec|test).[jt]s?(x)"
|
|
],
|
|
"extends": ["plugin:testing-library/react"]
|
|
}
|
|
]
|
|
}
|