-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
33 lines (33 loc) · 908 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
33
{
"extends": [
"plugin:@shopify/typescript",
"plugin:@shopify/node",
"plugin:@shopify/prettier"
],
"parserOptions": {
"project": "tsconfig.json"
},
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "parameterProperty",
"format": ["snake_case", "camelCase"]
}
],
"lines-around-comment": "off",
"import/no-unresolved": "off",
"import/no-anonymous-default-export": "off",
"babel/object-curly-spacing": ["error", "always"],
"no-warning-comments": "off",
"promise/no-nesting": "off",
"require-atomic-updates": "off",
"no-negated-condition": "off",
"callback-return": "off",
"no-return-await": "off",
"no-throw-literal": "off",
"no-fallthrough": "warn",
"@typescript-eslint/keyword-spacing": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "^_" }]
}
}