-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
25 lines (25 loc) · 878 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
/**@type {import('eslint').Linter.Config} */
// eslint-disable-next-line no-undef
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
rules: {
semi: [2, 'always'],
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'no-throw-literal': 1,
'no-unused-vars': 1,
'no-mixed-spaces-and-tabs': 1,
'no-trailing-spaces': 1,
'no-multi-spaces': 1,
'no-multiple-empty-lines': 1,
'no-irregular-whitespace': 1,
'no-unexpected-multiline': 1,
'no-duplicate-case': 1,
'no-unreachable': 1,
},
};