-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.json
More file actions
33 lines (33 loc) · 943 Bytes
/
.eslintrc.json
File metadata and controls
33 lines (33 loc) · 943 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
{
"extends": "next/core-web-vitals",
"plugins": ["eslint-plugin-simple-import-sort", "unused-imports"],
"rules": {
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off",
"react/jsx-first-prop-new-line": "error",
"comma-dangle": [
"error",
{
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "never"
}
],
"semi": ["error", "always"],
"quotes": ["error", "double"],
"eol-last": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"no-unused-vars": [
"error",
{ "vars": "all", "args": "none", "ignoreRestSiblings": false }
],
"unused-imports/no-unused-imports-ts": ["error"],
"comma-spacing": ["error", { "before": false, "after": true }]
},
"parserOptions": {
"parser": "@typescript-eslint/parser"
}
}