-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
34 lines (32 loc) · 930 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
{
"$schema": "https://json.schemastore.org/eslintrc",
"root": true,
"extends": ["plugin:@workleap/react-library"],
"rules": {
"no-console": ["warn", { "allow": ["warn", "error"] }],
"react/destructuring-assignment": "off",
"no-param-reassign": "off",
// New Workleap rules that we don't want to enforce yet
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"react/no-unused-prop-types": "off"
},
"overrides": [
{
"files": ["*.mdx"],
"rules":{
"react/jsx-no-undef": "off"
}
},
{
"files": [
".storybook/*",
"**/scripts/*.js"
],
"rules":{
"no-console": "off"
}
}
]
}