-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 955 Bytes
/
.eslintrc
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
35
36
37
38
39
40
41
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"plugin:eslint-comments/recommended",
"prettier"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"browser": true,
"jest": true,
"es6": true
},
"plugins": [
"prettier"
],
"rules": {
"@typescript-eslint/indent": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"react/prop-types": "off",
"react/button-has-type": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
".storybook/**/*.js",
"config-overrides.js",
"src/setupTests.ts",
"src/components/**/*.stories.tsx",
"src/**/*.test.{ts,tsx}"
]
}
],
"prettier/prettier": ["error"]
}
}