-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
35 lines (35 loc) · 953 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": "@folio/eslint-config-stripes",
"parser": "@babel/eslint-parser",
"rules": {
"react/jsx-curly-newline": "off",
"react/jsx-sort-props": "error",
"react/state-in-constructor": "off",
"testing-library/await-async-query": "error",
"testing-library/no-await-sync-query": "error",
"testing-library/no-debugging-utils": "warn",
"jest-dom/prefer-checked": "error",
"jest-dom/prefer-enabled-disabled": "error",
"jest-dom/prefer-required": "error",
"jest-dom/prefer-to-have-attribute": "error"
},
"env": {
"jest": true
},
"plugins": [
"testing-library",
"jest-dom"
],
"overrides": [
{
"files": ["lib/**/*.test.js", "test/**"],
"rules": {
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"func-names": "off",
"max-classes-per-file": "off",
"no-unused-expressions": "off"
}
}
]
}