Skip to content
Discussion options

You must be logged in to vote

Actually, using remove instead of override did the trick.
This config works as intended, but it might be confusing at first glance. (adding gitignore and then removing it right away)

import gitignore from 'eslint-config-flat-gitignore'

export default withNuxt([
  gitignore({ filesGitModules: [] }), // adding customized `gitignore`
  eslintConfigPrettier,
  ...vuetify.configs['flat/base'],
])
.remove('gitignore') // removing `gitignore` created by `withNuxt`

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hanool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant