Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: import/no-extraneous-dependencies #357

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,13 @@ 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', // jest config
'**/jest.setup.js', // jest setup
'**/vue.config.js', // vue-cli config
'**/webpack.config.js', // webpack config
'**/webpack.config.*.js', // webpack config
'**/rollup.config.js', // rollup config
'**/rollup.config.*.js', // rollup config
'**/protractor.conf.js', // protractor config
'**/protractor.conf.*.js', // protractor config
'**/karma.conf.js', // karma config
'**/.eslintrc.js', // eslint config
'**/eslint-rules/**',
'**/.storybook/**', // storybook config
'**/*.stories.{js,jsx,ts,tsx,mdx}', // storybook stories
'**/*.config.*',
'**/*.conf.*',
'**/*.setup.*',
],
optionalDependencies: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -641,20 +641,13 @@ exports[`should match ESLint configuration snapshot: next 1`] = `
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,20 +238,13 @@ exports[`should match ESLint configuration snapshot: node 1`] = `
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,20 +578,13 @@ exports[`should match ESLint configuration snapshot: react 1`] = `
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,20 +578,13 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = `
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
13 changes: 3 additions & 10 deletions tests/snapshot-test/flat/next/__snapshots__/snapshot.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -763,20 +763,13 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
13 changes: 3 additions & 10 deletions tests/snapshot-test/flat/node/__snapshots__/snapshot.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -762,20 +762,13 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = `
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
13 changes: 3 additions & 10 deletions tests/snapshot-test/flat/react/__snapshots__/snapshot.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -700,20 +700,13 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -700,20 +700,13 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat
"test.{js,jsx,ts,tsx}",
"test-*.{js,jsx,ts,tsx}",
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js",
"**/eslint-rules/**",
"**/.storybook/**",
"**/*.stories.{js,jsx,ts,tsx,mdx}",
"**/*.config.*",
"**/*.conf.*",
"**/*.setup.*",
],
"optionalDependencies": false,
},
Expand Down
Loading