ggascoigne / prettier-plugin-import-sort

Prettier plugin to pass javascript and typescript through import-sort
MIT License
110 stars 11 forks source link

Error: prettier-plugin-import-sort: Style "module" could not be resolved #21

Closed kosiakMD closed 1 year ago

kosiakMD commented 3 years ago

I've received this error

Error: prettier-plugin-import-sort:  Style "module" could not be resolved

deleting "style": "module" gives next error

TypeError: style is not a function
ggascoigne commented 3 years ago

from the readme:

You will also want to install an import sort style module of your choice, such as:

$ npm i -D import-sort-style-module