-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc.json
34 lines (32 loc) · 989 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"root": true,
"env": { "browser": true },
"parserOptions": { "project": "./tsconfig.json" },
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:jsdoc/recommended",
"plugin:testing-library/recommended",
"plugin:testing-library/react",
"prettier",
"prettier/@typescript-eslint",
"prettier/react"
],
"plugins": ["jsdoc", "simple-import-sort"],
"rules": {
// Auto-sort imports
"sort-imports": "off",
"import/order": "off",
"simple-import-sort/sort": "error",
// Using a type system makes these options safe
"react/jsx-props-no-spreading": "off",
"jsdoc/check-tag-names": ["warn", { "definedTags": ["jest-environment"] }],
"jsdoc/no-undefined-types": "off",
"jsdoc/require-jsdoc": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-type": "off"
}
}