I installed eslint-plugin-import-order and add it to eslintConfig in package.json.
Error I have:
Definition for rule 'import/order' was not found (import/order)
Please, help me to deal with it.
I installed eslint-plugin-import-order and add it to eslintConfig in package.json.
Error I have:
Definition for rule 'import/order' was not found (import/order)
Please, help me to deal with it.
Note: eslint-plugin-import-order has been deprecated. Please use this
https://github.com/benmosher/eslint-plugin-import
create a .eslintrc.json file and add the plugin like below.
{
....,
"extends": ["eslint:recommended", "plugin:import/errors", "plugin:import/warnings"],
"plugins": ["import"],
.....
}
Restart your local server once to ensure the changes are reflected.