-
Notifications
You must be signed in to change notification settings - Fork 20
/
.eslintrc
40 lines (40 loc) · 1.15 KB
/
.eslintrc
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
{
"extends": ["plugin:@shopify/typescript", "prettier", "react-app"],
"ignorePatterns": ["**/*.d.ts"],
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"react/react-in-jsx-scope": "off",
"id-length": "off",
"react/no-array-index-key": "off",
"@typescript-eslint/consistent-indexed-object-style": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/ban-types": "off",
"react/no-unescaped-entities": "off",
"react/jsx-filename-extension": [
"warn",
{
"extensions": [".tsx", ".jsx"]
}
],
"jsx-a11y/href-no-hash": "off",
"no-process-env": "off",
"import/no-cycle": "off",
"no-warning-comments": "off",
"import/order": "off",
"@shopify/images-no-direct-imports": "off",
"@typescript-eslint/triple-slash-reference": "off",
"@shopify/jsx-no-hardcoded-content": "off",
"no-console": "off",
"@shopify/strict-component-boundaries": "off",
"@shopify/binary-assignment-parens": "off",
"@typescript-eslint/naming-convention": "off",
"@shopify/prefer-early-return": "off",
"@shopify/no-debugger": "off",
"jsx-a11y/anchor-is-valid": [
"warn",
{
"aspects": ["invalidHref"]
}
]
}
}