-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.eslintrc.json
More file actions
25 lines (25 loc) · 792 Bytes
/
.eslintrc.json
File metadata and controls
25 lines (25 loc) · 792 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
{
"extends": ["next/core-web-vitals", "airbnb", "airbnb-typescript"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"arrow-parens": "off",
"func-names": "off",
"linebreak-style": "off",
"max-len": ["error", 120],
"no-console": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-return-assign": "off",
"object-curly-newline": "off",
"prefer-arrow-callback": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/*.test.ts", "**/*.spec.ts"] }],
"react/function-component-definition": "off",
"react/jsx-props-no-spreading": "off",
"react/one-expression-per-line": "off",
"react/react-in-jsx-scope": "off"
}
}