-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
35 lines (35 loc) · 1.24 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
module.exports = {
extends: [
'@remix-run/eslint-config',
'@remix-run/eslint-config/node',
'plugin:@typescript-eslint/recommended',
],
rules: {
'react/jsx-props-no-spreading': 'off',
'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off',
'react/jsx-no-constructed-context-values': 'off',
'react/no-danger': 'off',
'react/jsx-filename-extension': ['error', { extensions: ['.js', '.jsx', '.tsx'] }],
'import/extensions': ['error', 'ignorePackages', { ts: 'never', tsx: 'never' }],
'import/no-extraneous-dependencies': 'off',
'no-prototype-builtins': 'off',
'no-underscore-dangle': 'off',
'no-param-reassign': 'off',
'import/prefer-default-export': 'off',
'no-console': 'off',
'no-use-before-define': 'off',
'react-hooks/exhaustive-deps': 'off',
'react/function-component-definition': 'off',
'eol-last': 'off',
'react/require-default-props': 'off',
'react/no-array-index-key': 'off',
'react/destructuring-assignment': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'max-len': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react/no-unused-prop-types': 'off',
'prefer-destructuring': 'off',
'quotes': [2, 'single', { 'avoidEscape': true }]
},
};