lydell / eslint-plugin-simple-import-sort

Easy autofixable import sorting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLint: Definition for rule 'simple-import-sort/exports' was not found.(simple-import-sort/exports)

LastStranger opened this issue · comments

commented

截屏2022-04-06 下午1 04 42

any possible reason?

Hi!

  • Maybe you installed an old version of the plugin? simple-import-sort/imports and simple-import-sort-/exports are only available in version 6 or later.
  • Maybe you forgot to run npm install, so ESLint can’t find the package at all?
  • Maybe you installed ESLint and the plugin globally? According to ESLint’s documentation, configs and plugins have to be installed locally. Do other plugins work for you?

Closing because no response.