Skip to content

Commit

Permalink
fix: turn off import-x/no-named-as-default-member (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilzona authored Nov 27, 2024
1 parent 4bb6fc1 commit 37a5ba3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nasty-trainers-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@qlik/eslint-config": patch
---

fix: turn off import-x/no-named-as-default-member
2 changes: 1 addition & 1 deletion packages/eslint-config/src/configs/rules/import-x.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const rules = {
"import-x/no-named-as-default": "error",
// warn on accessing default export property names that are also named exports
// https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/no-named-as-default-member.md
"import-x/no-named-as-default-member": "error",
"import-x/no-named-as-default-member": "off",
// disallow use of jsdoc-marked-deprecated imports
// https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/no-deprecated.md
"import-x/no-deprecated": "warn",
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-config/src/configs/rules/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
const rules = {
// TODO use eslint-plugin-n https://github.com/eslint-community/eslint-plugin-n

// console.logs are useful in node scripts
"no-console": "off",
};

Expand Down

0 comments on commit 37a5ba3

Please sign in to comment.