Support the lint rules in vue #3370
Boshen
started this conversation in
Feature Request
Replies: 1 comment
-
Rules we need to implement:
Two jest rules need to be compatible with vitest
{
'oxc/no-const-enum': "error",
'oxc/no-async-await': "error",
'oxc/no-rest-spread-properties': ["error", {
object_spread_message: "esbuild transpiles object spread into very verbose inline helpers.\n " +
"'Please use the `extend` helper from @vue/shared instead.",
object_rest_message: "Our output target is ES2016, so async/await syntax should be avoided."
}]
}
-'import-x/no-nodejs-modules': [
- 'error',
- { allow: builtinModules.map(mod => `node:${mod}`) },
- ]
+ 'unicorn/prefer-node-protocol': 'error'
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/vuejs/core/blob/main/eslint.config.js
Beta Was this translation helpful? Give feedback.
All reactions