Explorar o código

update import/order rule

Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
f4379c339c
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  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',