-
-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable the
import/named
rule for now
- Loading branch information
1 parent
03daca9
commit ee145cb
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee145cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import-js/eslint-import-resolver-typescript#20 (comment)
Also, shouldn't this stay as a warning? I think
import/named
is still useful, especially for non-typescript users. Perhaps it should be undone inxo-config-typescript
instead?ee145cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warnings are mostly useless. They just create noise on non-actionable stuff and disappears in the CI.
It's not possible to disable rules in a shareable config without depending on it. So then I would have to force
xo-config-typescript
users to install theimport
plugin, which would be weird.On a side-note, I'm trying to use less
import
rules as I have years of annoyance of them being super-buggy and the project is not very actively maintained.