-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
42 lines (42 loc) · 1.2 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
{
"extends": [
"next",
"next/core-web-vitals",
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:eslint-comments/recommended",
"prettier"
],
"ignorePatterns": ["*.config.js", "**/*", "*.config.js", "build", "public"],
"plugins": ["@typescript-eslint", "eslint-comments"],
"root": true,
"globals": {},
"rules": {
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
"react/jsx-props-no-spreading": "off",
"react/jsx-one-expression-per-line": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"max-classes-per-file": "off",
"object-curly-newline": "off",
"@typescript-eslint/indent": "off",
"no-underscore-dangle": "off",
"react/require-default-props": "off"
},
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"node": true
},
"overrides": [],
"settings": {},
"parserOptions": {
"project": ["./tsconfig.json"]
}
}