Browse Source

update import/order rule

Yuki Takei 3 years ago
parent
commit
f4379c339c
1 changed files with 12 additions and 0 deletions
  1. 12 0
      .eslintrc.js

+ 12 - 0
.eslintrc.js

@@ -35,6 +35,18 @@ module.exports = {
             group: 'parent',
             position: 'before',
           },
+          {
+            pattern: '*.css',
+            group: 'type',
+            patternOptions: { matchBase: true },
+            position: 'after',
+          },
+          {
+            pattern: '*.scss',
+            group: 'type',
+            patternOptions: { matchBase: true },
+            position: 'after',
+          },
         ],
         alphabetize: {
           order: 'asc',