-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
46 lines (46 loc) · 1.28 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
43
44
45
46
{
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/eslint-recommended"
],
"plugins": ["@typescript-eslint", "@shopify"],
"rules": {
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
"react/jsx-filename-extension": 0,
"react/react-in-jsx-scope": 0,
"react/function-component-definition": 0,
"react/jsx-no-useless-fragment": 0,
"react/jsx-props-no-spreading": 0,
"react/require-default-props": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": [
"off",
{
"devDependencies": false,
"optionalDependencies": false,
"peerDependencies": false
}
],
"import/order": [
2,
{
"newlines-between": "always",
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
],
"no-use-before-define": 0,
"no-underscore-dangle": 0,
"no-undef": 0,
"no-unused-vars": 0,
"no-shadow": "off",
"arrow-body-style": 2,
"@shopify/typescript/prefer-singular-enums": 2,
"eslint-comments/disable-enable-pair": 0,
"quotes": [2, "double"],
"@typescript-eslint/no-unused-vars": "error",
"eslint-comments/no-unlimited-disable": "off"
}
}