forked from williamclot/character_creator
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
37 lines (37 loc) · 935 Bytes
/
.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
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"plugins": ["react", "@typescript-eslint", "prettier", "react-hooks"],
"env": {
"es6": true,
"node": true,
"browser": true,
"jasmine": true,
"jest": true
},
"rules": {
"prettier/prettier": ["warn", {
"trailingComma": "all",
"tabWidth": 4,
"singleQuote": true
}],
"react/prop-types": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"parser": "@typescript-eslint/parser"
}