-
Notifications
You must be signed in to change notification settings - Fork 134
/
.eslintrc
39 lines (39 loc) · 962 Bytes
/
.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
{
"extends": [
"plugin:@shopify/typescript",
"plugin:@shopify/react",
"plugin:@shopify/jest",
"plugin:@shopify/prettier"
],
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"import/extensions": "off",
"jsx-a11y/control-has-associated-label": "off",
"node/no-extraneous-require": "off",
"import/no-cycle": "off",
"jest/require-tothrow-message": "off",
"callback-return": "off",
"jest/no-if": "off",
"import/named": "off",
"func-style": "off",
"react/display-name": "off",
"id-length": "off",
"@shopify/restrict-full-import": ["error", "lodash"],
"no-process-env": "off",
"@shopify/jsx-no-hardcoded-content": "off",
"@typescript-eslint/naming-convention": [
"off",
{
"selector": "typeParameter",
"format": ["PascalCase"],
"prefix": ["T"]
}
]
},
"ignorePatterns": ["node_modules", "dist"],
"env": {
"node": true
}
}