forked from taiga-family/maskito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
28 lines (28 loc) · 1002 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
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
extends: [
'@tinkoff/eslint-config-angular',
'@tinkoff/eslint-config-angular/rxjs',
'@tinkoff/eslint-config-angular/imports',
'@tinkoff/eslint-config-angular/promise',
'@tinkoff/eslint-config-angular/file-progress',
'@tinkoff/eslint-config-angular/line-statements',
'@tinkoff/eslint-config-angular/member-ordering',
'@tinkoff/eslint-config-angular/decorator-position',
'@tinkoff/eslint-config-angular/experimental',
'@tinkoff/eslint-config-angular/function-return-type',
],
rules: {
'@typescript-eslint/prefer-nullish-coalescing': 'off',
},
ignorePatterns: ['projects/**/test.ts', '*.json', '*.less', '*.md', '*.js'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
project: [require.resolve('./tsconfig.eslint.json')],
},
};