-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
35 lines (31 loc) · 939 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
{
"extends": ["@voiceflow/eslint-config", "@voiceflow/eslint-config/frontend", "@voiceflow/eslint-config/typescript"],
"overrides": [
{
"files": ["test/**/*", "config/**/*", "stories/**/*", "*.config.js", ".*rc.js", ".storybook/**/*"],
"extends": ["@voiceflow/eslint-config/utility"],
"rules": {
// off
"no-use-before-define": "off",
"no-secrets/no-secrets": "off",
"xss/no-mixed-html": "off",
"react-hooks/rules-of-hooks": "off",
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["*.unit.*"],
"extends": ["@voiceflow/eslint-config/mocha"],
"rules": {
"no-unused-expressions": "off"
}
},
{
"files": ["*.it.*"],
"extends": ["@voiceflow/eslint-config/jest"]
}
]
}