-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathold.eslintrc.json
More file actions
34 lines (34 loc) · 860 Bytes
/
old.eslintrc.json
File metadata and controls
34 lines (34 loc) · 860 Bytes
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
{
"extends": ["next/core-web-vitals", "next", "airbnb", "./.prettier.eslintrc.cjs"],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/ban-ts-comment": "warn",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": "off",
"react/jsx-props-no-spreading": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"no-shadow": "off",
"import/no-extraneous-dependencies": "off"
},
"overrides": [
{
"files": ["**/*.config.{ts,js}"],
"rules": {
"global-require": "off"
}
},
{
"files": ["*.test.{ts,tsx}"],
"rules": {
"no-undef": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["**/*.test.ts", "**/*.test.tsx"]
}
]
}
}
]
}