You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I can't seem to get this to work. I keep getting this error when I try to run my linter:
ESLint couldn't find the plugin "eslint-plugin-import-order-autofix". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-import-order-autofix is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.
2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm i eslint-plugin-import-order-autofix@latest --save-dev
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.
Of course, I've made sure to check the suggestions.
The eslint plugin is installed and present in node_modules:
The problem likely is that the package requires ESLint 2/3, but you (and anyone else using ESlint nowadays) are running ESLint 4. You can check if this is a problem by trying to re-install the plug-in; if you see:
As for a fix, it's possible the library author can just update his package.json to require the newer version of ESLint, but it's likely that the new version breaks the plug-in and the author will have to address that issue (or issues) also.
... but since (unfortunately) it seems like this project may be dead/abandoned, I wouldn't hold my breath waiting.
#Hi Alex, thanks for all your hard work!
Unfortunately, I can't seem to get this to work. I keep getting this error when I try to run my linter:
Of course, I've made sure to check the suggestions.
The eslint plugin is installed and present in node_modules:
The rule is added to the ESlint config:
I've made sure to run the local ESlint:
./node_modules/.bin/eslint --fix --ext .jsx,.js .
I've tried removing the
node_modules
folder. I've also tried installing ESlint and this plugin globally, but keep getting the same error.Do you perhaps know something else I can try?
The text was updated successfully, but these errors were encountered: