Skip to content

Commit

Permalink
Refactor(eslint-config-base): Use more general glob pattern for conf/…
Browse files Browse the repository at this point in the history
…config files
  • Loading branch information
literat committed Aug 9, 2024
1 parent 7103256 commit 123d3f5
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions packages/eslint-config-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,16 @@ module.exports = {
'test.{js,jsx,ts,tsx}', // repos with a single test file
'test-*.{js,jsx,ts,tsx}', // repos with multiple top-level test files
'**/*{.,_}{test,spec}.{js,jsx,ts,tsx}', // tests where the extension or filename suffix denotes that it is a test
'**/jest.config.{js,ts}', // jest config
'**/jest.setup.{js,ts}', // jest setup
'**/vue.config.{js,ts}', // vue-cli config
'**/webpack.config.{js,ts}', // webpack config
'**/webpack.config.*.{js,ts}', // webpack config
'**/rollup.config.{js,ts}', // rollup config
'**/rollup.config.*.{js,ts}', // rollup config
'**/gulpfile.{js,ts}', // gulp config
'**/gulpfile.*.{js,ts}', // gulp config
'**/Gruntfile{,.js}', // grunt config
'**/protractor.conf.js', // protractor config
'**/protractor.conf.*.js', // protractor config
'**/karma.conf.js', // karma config
'**/.eslintrc.js', // eslint config
'**/.prettierrc.js', // prettier config
'**/postcss.config.js', // postcss config
'**/*.config.{js,ts}', // other config
'**/*.config.*.js,ts}', // other config
'**/*.conf.{js,ts}', // other conf
'**/*.conf.*.js,ts}', // other conf
],
optionalDependencies: false,
},
Expand Down

0 comments on commit 123d3f5

Please sign in to comment.