Skip to content

Commit

Permalink
Disable import/no-extraneous-dependencies for node configs
Browse files Browse the repository at this point in the history
  • Loading branch information
xt0rted committed Jan 30, 2023
1 parent 9f401b2 commit f866df6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Remove `parserOptions` from typescript config
- Disable `unicorn/prefer-module` for `.cjs` files
- Disable `import/no-extraneous-dependencies` for node configs

## [1.1.0](https://github.com/rezstream/eslint-plugin-rezstream/compare/v1.0.1...v1.1.0) - 2023-01-27

Expand Down
13 changes: 13 additions & 0 deletions lib/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ const config = {
"unicorn/prefer-module": "off",
},
},
{
files: [
".*rc.js",
".*rc.cjs",
".*rc.ts",
"*.config.js",
"*.config.cjs",
"*.config.ts",
],
rules: {
"import/no-extraneous-dependencies": "off",
},
},
],
};

Expand Down

0 comments on commit f866df6

Please sign in to comment.