Skip to content

Commit

Permalink
Merge pull request #98 from mbti-nf-team/chore/eslint-config
Browse files Browse the repository at this point in the history
chore(eslint-config): css import는 가장 상단으로 import 되도록 정렬 룰 변경
  • Loading branch information
saseungmin authored Sep 29, 2024
2 parents 238e6b6 + af6c8c9 commit db4fd04
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/neat-chicken-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nf-team/eslint-config": minor
"docs": minor
---

chore(@nf-team/eslint-config): css import는 가장 상단으로 import 되도록 정렬 룰 변경
4 changes: 2 additions & 2 deletions apps/docs/docs/eslint-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ This is the default value for the `groups` option:
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
// Svg file imports.
['^.+\\.svg$'],
// Style imports.
['^.+\\.s?css$'],
// Module css(scss) style imports.
['^.+\\.module.s?css$'],
]
```

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
['^.+\\.svg$'],
['^.+\\.s?css$'],
['^.+\\.module.s?css$'],
],
}],
'react/jsx-no-useless-fragment': ['error', {
Expand Down

0 comments on commit db4fd04

Please sign in to comment.