forked from snabbdom/snabbdom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
25 lines (25 loc) · 1003 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
module.exports = {
extends: 'standard-with-typescript',
parserOptions: { project: [ './tsconfig.json', ] },
ignorePatterns: [
'/examples/**/build.js'
],
rules: {
'import/newline-after-import': 'error',
'max-statements-per-line': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
'@typescript-eslint/prefer-includes': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'comma-dangle': ['error', 'only-multiline'],
'no-mixed-operators': 'off',
'@typescript-eslint/semi': ['error', 'always'],
semi: ['error', 'always'],
}
}