-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
28 lines (28 loc) · 820 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
{
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react-hooks", "prettier"],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/ban-types": "off",
"require-yield": "off",
"import/no-anonymous-default-export": "off",
"@next/next/no-img-element": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "error",
"no-console": ["error", { "allow": ["warn", "error", "info", "time", "timeEnd"] }]
},
"ignorePatterns": [
"node_modules/*",
"config/*",
"scripts/*",
"build/*",
"prettier.config.js",
"packages/reaux/__test__/*",
"fixtures/*"
]
}