Sfoglia il codice sorgente

update import/order rule

Yuki Takei 3 anni fa
parent
commit
f4379c339c
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      .eslintrc.js

+ 12 - 0
.eslintrc.js

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