Skip to content

Commit

Permalink
Allow array values for plugin settings (#14)
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
stormwarning authored Apr 29, 2024
1 parent 9ca9688 commit 011e192
Show file tree
Hide file tree
Showing 6 changed files with 644 additions and 285 deletions.
7 changes: 7 additions & 0 deletions .changeset/tiny-chefs-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'eslint-plugin-import-sorting': minor
---

Allow array values for plugin settings
Settings options now accept an array of pattern strings, instead of only a single, more convoluted, RegExp string.
Closes #8
9 changes: 9 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ const config = {
'etc/no-assign-mutated-array': 'off',
'etc/prefer-less-than': 'off',
},

overrides: [
{
files: ['tests/**/*.ts'],
rules: {
'import/no-extraneous-dependencies': 'off',
},
},
],
}

module.exports = config
Loading

0 comments on commit 011e192

Please sign in to comment.