针对你的问题“eslint run autofix to sort these imports!”,以下是详细的解决步骤: 1. 安装并配置ESLint及其相关插件 首先,你需要确保已经安装了ESLint以及相关的插件,如eslint-plugin-simple-import-sort。你可以通过npm或yarn来安装这些依赖。 bash npm install eslint eslint-plugin-simple-import-sort --sav...
Run autofix to sort these imports!eslint(simple-import-sort/sort) I can't seem to the get following plugin to automatically fix on save? ES Lint has a wall of documentation and what I've read so far tells me to do the following: "editor...
PR welcome, but note that the autofix would need to handle quite complex cases like transforming{ foo: String as PropType<'a' | 'b'>, bar: User, baz: Number }to{ foo: 'a' | 'b'; bar: User; baz: number }. mpiniarskiadded a commit to mpiniarski/eslint-plugin-vue that refere...