Accessibility rule is not working with the new ESLint flat config file
Closed this issue ยท 1 comments
orsileonel commented
Hello! ๐
I'm using Nuxt3 with ESLint Module and I have the following configuration:
eslint.config.mjs
import pluginVueA11y from 'eslint-plugin-vuejs-accessibility'
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt([
...pluginVueA11y.configs['flat/recommended'],
{
rules: {
...
}
}
})
Can someone help me to point out what I'm doing wrong, please?
Thank you.
orsileonel commented
I deleted the node_modules
folder and the yarn.lock
file, then installed everything again and it worked.