-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
55 lines (54 loc) ยท 1.27 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'plugin:import/recommended',
'eslint:recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:prettier/recommended',
'airbnb-base',
'prettier',
],
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['react', 'import'],
rules: {
'prettier/prettier': ['error', { endOfLine: 'auto' }],
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'import/extensions': ['off'],
'react/destructuring-assignment': [0, 'always'],
'react/prop-types': 'off',
'react/jsx-no-useless-fragment': [
2,
{
allowExpressions: true,
},
],
'import/no-cycle': 'off',
'no-console': 'off',
'no-param-reassign': 0,
'no-unused-vars': 'off',
'no-else-return': 'off',
'no-useless-concat': 'off',
'no-useless-escape': 'off',
'no-alert': 'off',
'react/no-unknown-property': 'off',
'react/jsx-props-no-spreading': 'off',
'react/jsx-filename-extension': [
1,
{
extensions: ['.js', '.jsx'],
},
],
// ์ค๊ดํธ ์ ์ผ๊ด๋ ์ค๋ฐ๊ฟ
'object-curly-newline': 'off',
},
};