Working alongside with nuxt eslint #9836
-
Hey guys, Is anyone using OXLint alongside Eslint module for nuxt https://nuxt.com/modules/eslint ? What kind of setup are you guys doing? I was trying something like this. package.json "lint:fix": "yarn oxlint --fix && yarn eslint . --fix", eslint.config.mjs import withNuxt from "./.nuxt/eslint.config.mjs"
import oxlint from "eslint-plugin-oxlint";
export default withNuxt().append(...oxlint.configs["flat/recommended"]); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Depending on what
or |
Beta Was this translation helpful? Give feedback.
Depending on what
withNuxt
is returning you can try:or
...withNuxt()
when its returning multiple Eslint Flat Configs.I did not test this. If this still does not solve your problem, try to create a minimal repo where I can try it :)
You can double check with eslint config-inspector: https://github.com/eslint/config-inspector if the rules are deactivated.