Skip to content

Commit

Permalink
Enable no-other-module-relative-import rule by default (#1453)
Browse files Browse the repository at this point in the history
Rule was added in v5 but not enabled by default.
  • Loading branch information
nsams authored Nov 29, 2023
1 parent a5032c5 commit 47eb81c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/unlucky-files-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@comet/eslint-config": major
---

Enable no-other-module-relative-import rule by default
3 changes: 2 additions & 1 deletion packages/eslint-config/core-without-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = {
"unused-imports/no-unused-imports": "error",
"no-console": ["error", { allow: ["warn", "error"] }],
"no-return-await": "error",
"json-files/sort-package-json": "error"
"json-files/sort-package-json": "error",
"@comet/no-other-module-relative-import": ["warn"]
},
overrides: [
{
Expand Down

0 comments on commit 47eb81c

Please sign in to comment.