-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.js
25 lines (25 loc) · 944 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: ['airbnb-typescript-prettier'],
rules: {
// todo: review
'prettier/prettier': 'error',
'react/jsx-filename-extension': [1, { extensions: ['.jsx', '.tsx'] }],
'react-hooks/exhaustive-deps': 'off',
'react/jsx-no-bind': 'off',
'import/no-unresolved': 'off',
'react/jsx-no-constructed-context-values': 'off',
'react/jsx-no-useless-fragment': 'off',
'react/no-unstable-nested-components': 'off',
'no-console': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
},
ignorePatterns: ['config-overrides.js'],
}