-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 886 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
{
"env": {
"browser": true,
"es2021": true
},
"ignorePatterns": ["**/*.config.js", "**/*.config.cjs", "**/*.config.ts"],
"extends": [
"eslint:recommended",
"airbnb",
"airbnb-typescript",
"next",
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parserOptions": {
"project": "tsconfig.json",
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "unused-imports"],
"rules": {
"react/require-default-props": "off",
"react/jsx-no-bind": "off",
"react/jsx-props-no-spreading": "off",
"react/display-name": "off",
"no-lonely-if": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "warn",
"no-unused-labels": "warn",
"no-unused-vars": "warn",
"import/no-anonymous-default-export": "off"
}
}