generated from paranext/paranext-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
60 lines (59 loc) · 1.36 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"env":{
"node":true,
"browser":true,
"es2021":true
},
"ignorePatterns":[
".eslintrc.js",
"config-overrides.js",
"craco.config.js",
"jest.config.ts"
],
"extends":[
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"react-app",
"react-app/jest"
],
"overrides":[
],
"parser":"@typescript-eslint/parser",
"parserOptions":{
"ecmaVersion":"latest",
"sourceType":"module",
"project":"tsconfig.json",
"tsconfigRootDir":"."
},
"plugins":[
"react",
"react-hooks",
"@typescript-eslint"
],
"settings":{
"react":{
"version":"detect"
}
},
"rules":{
"react/jsx-uses-react":"off",
"react/react-in-jsx-scope":"off",
"react-hooks/rules-of-hooks":"error",
"react-hooks/exhaustive-deps":"warn",
"@typescript-eslint/no-empty-interface":"off",
"@typescript-eslint/no-non-null-assertion":"off",
"@typescript-eslint/no-empty-function":"off",
"@typescript-eslint/dot-notation":"error",
"prettier/prettier":[
"error",
{
"trailingComma":"all",
"tabWidth":2,
"semi":true,
"singleQuote":true
}
]
}
}