Skip to content

Commit

Permalink
chore(eslint): curly 제거, react의 jsx-pascal-case, function-component-d…
Browse files Browse the repository at this point in the history
…efinition 변경 (#321)
  • Loading branch information
sukvvon authored Aug 21, 2024
1 parent f5e6ba4 commit 8edb1b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/eslint-config-favolink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ module.exports = {
},
},
rules: {
curly: 'error',
'dot-notation': 'off',
eqeqeq: 'error',
'func-style': ['error', 'declaration'],
Expand Down Expand Up @@ -97,14 +96,11 @@ module.exports = {
],
'react/function-component-definition': [
'error',
{
namedComponents: 'function-declaration',
unnamedComponents: 'arrow-function',
},
{ namedComponents: 'function-declaration' },
],
'react/jsx-curly-brace-presence': 'error',
'react/jsx-no-useless-fragment': 'error',
'react/jsx-pascal-case': 'error',
'react/jsx-pascal-case': ['error', { allowNamespace: true }],
'react/no-unused-state': 'error',
'react/self-closing-comp': 'error',
'react-refresh/only-export-components': [
Expand Down

0 comments on commit 8edb1b0

Please sign in to comment.