-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
41 lines (41 loc) · 942 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
38
39
40
41
{
"parserOptions": {
"project": "./tsconfig.json"
},
"parser": "@typescript-eslint/parser",
"plugins": ["jest", "@typescript-eslint", "prettier"],
"extends": [
"next/core-web-vitals",
"airbnb-base",
"airbnb-typescript/base",
"next",
"prettier"
],
"rules": {
"no-unused-vars": [1, { "args": "after-used", "argsIgnorePattern": "^_" }],
"prettier/prettier": "error",
"prefer-const": "off",
"no-use-before-define": "off",
"react/no-unescaped-entities": "off",
"react/react-in-jsx-scope": "off",
"import/order": "off",
"space-before-function-paren": [
"error",
{
"named": "never",
"anonymous": "never"
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"next.config.js",
"jest.setup.js",
"**/*.test.tsx",
"**/*.test.ts"
]
}
]
}
}