blob: 9ba34dede11be4317a1bacd6a8a5a402d15b10a7 (
plain)
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
|
{
"extends": "sonarqube",
"rules": {
"camelcase": "off",
"promise/no-return-wrap": "warn",
"react/jsx-curly-brace-presence": "warn"
},
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false
},
"plugins": ["testing-library"],
"overrides": [
{
"files": [
"**/__tests__/**/*-it.{ts,tsx}"
],
"extends": [
"plugin:testing-library/react"
],
"rules": {
"testing-library/await-async-query": "error",
"testing-library/no-await-sync-query": "error",
"testing-library/no-debugging-utils": "error",
"testing-library/no-dom-import": "error"
}
}
]
}
|