Skip to content

Commit

Permalink
style: eslint 설정 순서 그룹 로케이션화
Browse files Browse the repository at this point in the history
  • Loading branch information
semnil5202 committed Jun 23, 2024
1 parent d94396d commit 20abebf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/core/eslint-config/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ module.exports = {
'newlines-between': 'always',
},
],
'no-duplicate-imports': 'warn',
'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
'import/no-cycle': [
'warn',
{
maxDepth: Infinity,
ignoreExternal: true,
},
],
'no-duplicate-imports': 'warn',
'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
'@typescript-eslint/consistent-type-imports': 'warn',
},
overrides: [
Expand Down
6 changes: 3 additions & 3 deletions packages/core/eslint-config/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ module.exports = {
'newlines-between': 'always',
},
],
'no-duplicate-imports': 'warn',
'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
'import/no-cycle': [
'warn',
{
maxDepth: Infinity,
ignoreExternal: true,
},
],
'no-duplicate-imports': 'warn',
'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
'@typescript-eslint/consistent-type-imports': 'warn',
},
overrides: [{ files: ['*.js?(x)', '*.ts?(x)'] }],
Expand Down
6 changes: 3 additions & 3 deletions packages/core/eslint-config/react-internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ module.exports = {
'newlines-between': 'always',
},
],
'no-duplicate-imports': 'warn',
'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
'import/no-cycle': [
'warn',
{
maxDepth: Infinity,
ignoreExternal: true,
},
],
'no-duplicate-imports': 'warn',
'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
'@typescript-eslint/consistent-type-imports': 'warn',
},
overrides: [{ files: ['*.js?(x)', '*.ts?(x)'] }],
Expand Down

0 comments on commit 20abebf

Please sign in to comment.