-
Notifications
You must be signed in to change notification settings - Fork 804
/
.eslintrc.js
28 lines (28 loc) · 668 Bytes
/
.eslintrc.js
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
module.exports = {
"env": {
"browser": true,
"es2021": true,
"node": true,
"amd": true,
},
globals: {
'luxon': 'readonly',
'XLSX': 'readonly',
'jspdf': 'readonly'
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"semi": "error",
"indent": ["error", "tab", {VariableDeclarator:0, "SwitchCase": 1}],
"no-unused-vars": ["warn", { "vars": "all", "args": "none", "ignoreRestSiblings": false }],
"no-fallthrough": "off",
"no-inner-declarations": "off",
"no-prototype-builtins": "off",
"no-empty": ["error", { "allowEmptyCatch": true }],
// "curly": "error",
}
}