-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 1008 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
{
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"ecmaVersion": 2020
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"AWS": false,
"globalThis": true
},
"plugins": [
"mocha",
"promise"
],
"extends": [
"cimpress-atsquad"
],
"rules": {
"arrow-parens": ["error", "as-needed"],
"curly": ["error", "all"],
"indent": ["error", 2, { "SwitchCase": 1, "MemberExpression": "off" }],
"max-len": ["error", { "code": 200, "tabWidth": 2, "ignoreStrings": true, "ignoreUrls": true, "ignoreTemplateLiterals": true, "ignoreComments": true, "ignoreTrailingComments": true }],
"node/no-unsupported-features": ["off"],
"no-console": "error",
"prefer-const": ["error"],
"node/no-unsupported-features/es-syntax": ["off"],
"node/no-unpublished-import": ["off"],
"node/no-missing-import": ["error", {
"tryExtensions": [".js", ".json", ".vue", ".css"]
}]
}
}