Skip to content

Commit db4fd04

Browse files
authored
Merge pull request #98 from mbti-nf-team/chore/eslint-config
chore(eslint-config): css import는 가장 상단으로 import 되도록 정렬 룰 변경
2 parents 238e6b6 + af6c8c9 commit db4fd04

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.changeset/neat-chicken-unite.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@nf-team/eslint-config": minor
3+
"docs": minor
4+
---
5+
6+
chore(@nf-team/eslint-config): css import는 가장 상단으로 import 되도록 정렬 룰 변경

apps/docs/docs/eslint-config/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ This is the default value for the `groups` option:
6767
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
6868
// Svg file imports.
6969
['^.+\\.svg$'],
70-
// Style imports.
71-
['^.+\\.s?css$'],
70+
// Module css(scss) style imports.
71+
['^.+\\.module.s?css$'],
7272
]
7373
```
7474

packages/eslint/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
5757
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
5858
['^.+\\.svg$'],
59-
['^.+\\.s?css$'],
59+
['^.+\\.module.s?css$'],
6060
],
6161
}],
6262
'react/jsx-no-useless-fragment': ['error', {

0 commit comments

Comments
 (0)