-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc.js
29 lines (28 loc) · 918 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
29
const path = require('path');
module.exports = {
root: true,
extends: ['plugin:@vkontakte/eslint-plugin/typescript', 'plugin:import/recommended', 'prettier'],
overrides: [
{
files: '**/*.{ts,tsx}',
parserOptions: {
project: path.join(__dirname, 'tsconfig.json'),
},
},
],
rules: {
'import/named': 'off',
'import/no-unresolved': 'off',
'no-shadow': 'off',
'guard-for-in': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/prefer-readonly': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'@typescript-eslint/no-extraneous-class': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/consistent-type-assertions': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
},
};