-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.json
46 lines (46 loc) · 1.38 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
{
"env": {
"es6": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"plugin:jest/recommended",
"plugin:jest/style",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint", "jest"],
"ignorePatterns": ["node_modules", "types", "coverage", ".next"],
"rules": {
"no-console": "off",
"no-restricted-syntax": "off",
"react/require-default-props": "off",
"import/no-extraneous-dependencies": "off",
"jest/no-commented-out-tests": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"no-await-in-loop": "off",
"no-param-reassign": "off",
"no-nested-ternary": "off",
"no-underscore-dangle": "off",
"@typescript-eslint/no-shadow": "off",
"no-plusplus": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"format": ["camelCase", "PascalCase", "UPPER_CASE", "snake_case"],
"leadingUnderscore": "allow"
}
]
}
}