mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-12-28 02:21:02 +08:00
0b7a1a90a1
* Update testing framework * Update action button test * Add unit tests for language and authentication page * Add unit tests for the custom selector * Fix packages, add new testing plugin for eslint, fix issues * Add unit tests for ChipInput * Add coverage and test ui. Add more tests * Fix formatting issues * Try to fix the styling issues again * Fix formatting issues
25 lines
633 B
JSON
25 lines
633 B
JSON
{
|
|
"rules": {
|
|
"no-console": "error",
|
|
"@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"]
|
|
}
|
|
]
|
|
}
|