-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
32 lines (32 loc) · 846 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended"
],
"rules": {
"no-unused-vars": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react/jsx-sort-props": [
"error",
{
"callbacksLast": true,
"shorthandFirst": true,
"shorthandLast": true,
"multiline": "last",
"ignoreCase": false,
"noSortAlphabetically": false,
"reservedFirst": true,
"locale": "auto"
}
],
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-var-requires": "off",
"@next/next/no-img-element": "off"
}
}