Skip to content

Commit

Permalink
Add scss support in import order eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
vovakulikov committed Mar 13, 2022
1 parent 063a054 commit e02682f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,22 @@ module.exports = {
caseInsensitive: true,
},
pathGroups: [
{
pattern: 'react',
group: 'external',
position: 'before'
},
{
pattern: '@sourcegraph/**',
group: 'external',
position: 'after',
position: 'after'
},
{
pattern: '*.scss',
group: 'index',
patternOptions: { matchBase: true },
position: 'after'
}
],
pathGroupsExcludedImportTypes: [],
},
Expand Down

0 comments on commit e02682f

Please sign in to comment.