-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
26 lines (26 loc) · 1.02 KB
/
.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
module.exports = {
extends: ['standard-with-typescript'],
parserOptions: {
project: '**/tsconfig.json'
},
parser: '@typescript-eslint/parser',
plugins: ['prettier'],
rules: {
indent: 'off',
'@typescript-eslint/indent': 'off',
'multiline-ternary': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/promise-function-async': 'off',
'@typescript-eslint/consistent-type-assertions': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'prettier/prettier': ['error'],
'generator-star-spacing': ['error', { before: false, after: true }],
'yield-star-spacing': ['error', { before: false, after: true }]
}
}