-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.js
34 lines (34 loc) · 1.13 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
27
28
29
30
31
32
33
34
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
},
ignorePatterns: ['test/*', '*.d.ts'],
plugins: ['@typescript-eslint', 'simple-import-sort', 'import', 'prettier'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'airbnb-typescript/base',
'prettier',
],
rules: {
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/dot-notation': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'import/prefer-default-export': 'off',
'lines-between-class-members': 'off',
'import/no-extraneous-dependencies': 'off',
'class-methods-use-this': 'off',
'no-underscore-dangle': 'off',
'max-classes-per-file': 'off',
'@typescript-eslint/indent': 'off',
'import/no-cycle': 'off',
'prefer-const': 'off'
},
};