-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
63 lines (63 loc) · 1.73 KB
/
.eslintrc
File metadata and controls
63 lines (63 loc) · 1.73 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
{
"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",
"@authress/eslint-config"
],
"rules": {
"arrow-parens": ["error", "as-needed"],
"curly": ["error", "all"],
"indent": ["error", 2, { "SwitchCase": 1, "MemberExpression": "off" }],
"max-len": ["off", { "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",
"quotes": "off",
"quote-props": "off"
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaFeatures": { "jsx": true }
}
}
]
}