mirror of
https://github.com/prymitive/karma
synced 2026-02-13 20:59:53 +00:00
33 lines
827 B
YAML
33 lines
827 B
YAML
root: true
|
|
parser: "@typescript-eslint/parser"
|
|
plugins:
|
|
- "@typescript-eslint"
|
|
- "prettier"
|
|
extends:
|
|
- react-app
|
|
- react-app/jest
|
|
- eslint:recommended
|
|
- plugin:@typescript-eslint/eslint-recommended
|
|
- plugin:@typescript-eslint/recommended
|
|
- prettier
|
|
settings:
|
|
react:
|
|
version: detect
|
|
rules:
|
|
"react/prop-types": off
|
|
"react/display-name": off
|
|
"@typescript-eslint/no-empty-function": off
|
|
# noisy
|
|
"@typescript-eslint/explicit-function-return-type": off
|
|
overrides:
|
|
- files:
|
|
- "**/__mocks__/*.ts"
|
|
- "**/__mocks__/**/*.ts"
|
|
- "**/*.test.ts"
|
|
- "**/*.test.tsx"
|
|
rules:
|
|
"@typescript-eslint/no-var-requires": off
|
|
"@typescript-eslint/no-empty-function": off
|
|
"@typescript-eslint/explicit-module-boundary-types": off
|
|
"@typescript-eslint/no-explicit-any": off
|