Since my ESLint config is automatically checking whether the vue package exists to determine whether to turn on vue related rules (as it requires installing eslint-plugin-vue), it's breaking there. My project is a React project so those rules should definitely not being turned on.
For now I can just add vue: false to my eslint config, which is not a big deal, but I don't really think vue should be a dependency here. peerDependency makes more sense to me. The unocss inspector is already there before 0.63.5, so It's kind of a bug(?) due to the above PR?
I recently updated
unocss
from0.63.4
to0.63.6
, and it's breaking my previous ESLint settings a little bit.As I can see in this PR https://github.com/unocss/unocss/pull/4214, this package was added, and because
vue
is adependency
, it's been installed automatically by npm.Since my ESLint config is automatically checking whether the
vue
package exists to determine whether to turn on vue related rules (as it requires installingeslint-plugin-vue
), it's breaking there. My project is a React project so those rules should definitely not being turned on.For now I can just add
vue: false
to my eslint config, which is not a big deal, but I don't really thinkvue
should be adependency
here.peerDependency
makes more sense to me. The unocss inspector is already there before0.63.5
, so It's kind of a bug(?) due to the above PR?