-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
51 lines (51 loc) · 1.46 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
47
48
49
50
51
{
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"ecmaVersion": 2020
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"AWS": false,
"globalThis": true
},
"plugins": [
"vue",
"mocha",
"promise"
],
"extends": [
"plugin:vue/essential",
"plugin:vue/recommended",
"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"]
}],
"vue/singleline-html-element-content-newline": "off",
"vue/multiline-html-element-content-newline": "off",
"vue/order-in-components": "off",
"vue/max-attributes-per-line": "off",
"vue/attributes-order": "off",
"vue/html-indent": "off",
"vue/html-closing-bracket-newline": ["error", {
"singleline": "never",
"multiline": "never"
}],
"vue/attribute-hyphenation": "off"
}
}