forked from Authress-Engineering/openapi-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
52 lines (52 loc) · 1.29 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
52
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"ecmaVersion": 2020,
"babelOptions": {
"configFile": "./babel.config.json"
}
},
"settings": {
"import/resolver":{
"webpack":{
"config":"webpack.config.js"
}
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"AWS": false,
"bootbox": false,
"globalThis": true
},
"plugins": [
"vue",
"mocha",
"promise"
],
"extends": [
"cimpress-atsquad"
],
"rules": {
"arrow-parens": "off", // ["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"]
}],
"max-depth": "off",
"comma-dangle": "off"
}
}