-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc.js
More file actions
28 lines (28 loc) · 858 Bytes
/
.eslintrc.js
File metadata and controls
28 lines (28 loc) · 858 Bytes
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 = {
root: true,
env: {
es6: true,
node: true,
jest: true
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: ['eslint:recommended', '@hellomouse/typescript', '@hellomouse/wolfy1339'],
rules: {
"no-unused": "off",
"@typescript-eslint/camelcase": 0,
"indent": 'off',
"@typescript-eslint/indent": ['error', 2, { SwitchCase: 1 }],
"object-shorthand": ["error", "always"],
"no-unneeded-ternary": "error",
"no-multiple-empty-lines": ["error", { max: 1, maxEOF: 1, maxBOF: 0 }],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-function-return-type": "off"
},
};