-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc.json
35 lines (35 loc) · 1.13 KB
/
.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
35
{
"env": {
"jest/globals": true
},
"extends": ["@wireapp/eslint-config"],
"ignorePatterns": ["*config.js", "styleguide/", "demo/", "bin/", "archive/", "eslint*", "webpack*"],
"globals": {
"NodeJS": "readonly"
},
"plugins": ["@emotion"],
"rules": {
"@emotion/pkg-renaming": "error",
"@emotion/no-vanilla": "error",
"@emotion/import-from-emotion": "error",
"@emotion/styled-import": "error",
"id-length": "off",
"no-dupe-class-members": "off",
"no-magic-numbers": "off",
"valid-jsdoc": "off",
"import/no-unresolved": "off",
"jest/no-jasmine-globals": "error",
"jest/no-identical-title": "warn",
"jest/no-done-callback": "warn",
"jest/no-disabled-tests": "warn",
"jest/no-conditional-expect": "warn",
"jest/valid-describe-callback": "warn",
"jest/valid-title": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"jsx-a11y/anchor-has-content": "warn",
"jsx-a11y/label-has-associated-control": "warn",
"jsx-a11y/heading-has-content": "warn",
"@typescript-eslint/no-floating-promises": "warn"
}
}