-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
28 lines (28 loc) · 970 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
module.exports = {
plugins: ['react', 'react-hooks', 'prettier', '@typescript-eslint'],
extends: ['next', 'airbnb', 'prettier', 'plugin:@typescript-eslint/recommended', 'plugin:storybook/recommended'],
parser: '@typescript-eslint/parser',
globals: {
JSX: true
},
rules: {
'arrow-body-style': 'off',
'jsx-quotes': 'off',
'comma-dangle': 'off',
'object-curly-newline': 'off',
'linebreak-style': 'off',
'react/jsx-filename-extension': 'off',
'react/no-unescaped-entities': 'off',
'react/jsx-tag-spacing': 'off',
'react/prop-types': 'off',
'react/jsx-one-expression-per-line': 'off',
'react/jsx-props-no-spreading': 'off',
'react/function-component-definition': 'off',
'react/jsx-no-useless-fragment': 'off',
'react/require-default-props': 'off',
'import/extensions': 'off',
'import/no-unresolved': 'off',
'import/no-extraneous-dependencies': 'off',
'prettier/prettier': 'error'
}
};