forked from jakiestfu/stability-ts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
40 lines (39 loc) · 1.06 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
35
36
37
38
39
40
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript',
'plugin:prettier/recommended',
'eslint:recommended',
'airbnb-typescript',
'prettier',
],
rules: {
'@typescript-eslint/no-implied-eval': 'off', // This shit is super slow for some reason
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'linebreak-style': 'off',
'consistent-return': 'off',
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
'import/prefer-default-export': 'off',
'no-console': ['error', { allow: ['log', 'error', 'warn', 'info'] }],
'react/jsx-filename-extension': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
project: ['./tsconfig.json'],
},
}