-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy path.eslintrc.json
More file actions
34 lines (34 loc) · 852 Bytes
/
Copy path.eslintrc.json
File metadata and controls
34 lines (34 loc) · 852 Bytes
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,
"extends": "@faergeek",
"globals": {
"__SENTRY_DSN__": "readonly",
"__SENTRY_ENVIRONMENT__": "readonly",
"__SENTRY_RELEASE__": "readonly"
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"extends": "@faergeek/eslint-config/typescript"
},
{
"files": ["src/**/*"],
"extends": "@faergeek/eslint-config/react"
},
{
"files": ["scripts/*", "webpack.config.js"],
"extends": "@faergeek/eslint-config/node"
},
{
"files": ["test/**/*"],
"extends": ["@faergeek/eslint-config/node", "plugin:mocha/recommended"],
"rules": {
"func-names": "off",
"mocha/no-async-describe": "off",
"mocha/no-mocha-arrows": "off",
"mocha/no-pending-tests": "off",
"mocha/no-setup-in-describe": "off"
}
}
]
}