forked from Shopify/product-reviews-polaris-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.42 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
41
42
43
44
45
46
{
"extends": [
"plugin:shopify/esnext",
"plugin:shopify/react",
"plugin:shopify/node",
"plugin:shopify/polaris"
],
"rules": {
"id-length": "off",
"func-style": "off",
"no-console": "off",
"no-undefined": "off",
"no-param-reassign": "off",
"no-process-env": "off",
"no-warning-comments": "off",
"no-negated-condition": "off",
"no-unused-vars": ["warn", {"argsIgnorePattern": "^_"}],
"consistent-return": "off",
"prefer-destructuring": "off",
"match-default-export-name": "off",
"jsx-use-translation-function": "off",
"lines-around-comment": [
"error",
{
"beforeBlockComment": false,
"allowBlockStart": false
}
],
"react/no-unused-state": "off",
"react/button-has-type": "off",
"react/no-array-index-key": "off",
"react/no-did-update-set-state": "off",
"react/no-access-state-in-setstate": "off",
"react/prop-types": "off",
"react/jsx-no-bind": "off",
"typescript/trailing-comma-interface": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/role-supports-aria-props": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-noninteractive-element-to-interactive-role": "off",
"shopify/binary-assignment-parens": "off"
}
}