Skip to content

Commit

Permalink
fix: ignore project's eslintrc (#24)
Browse files Browse the repository at this point in the history
* fix: ignore project's eslintrc

* test: Change to flat.
  • Loading branch information
starnayuta committed Feb 6, 2024
1 parent 78901d8 commit 4f55b59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint-cjs-to-esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ try {
...platformArguments,
"--config",
builtinConfig,
"--no-eslintrc",
"--no-inline-config",
...args], {
env: {
FORCE_COLOR: "true"
Expand Down
5 changes: 5 additions & 0 deletions test-fixtures/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
extends: [
'non-existing-rule',
],
};
1 change: 1 addition & 0 deletions test-fixtures/no-inline-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// eslint-disable-next-line non-existing-rule

0 comments on commit 4f55b59

Please sign in to comment.