Skip to content

How to unignore file (getting: File ignored because of a matching ignore pattern) #410

Closed Answered by meirroth
meirroth asked this question in Q&A
Discussion options

You must be logged in to vote

Never mind, got it working!

import eslintConfigPrettier from 'eslint-config-prettier'
import prettierPlugin from 'eslint-plugin-prettier'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
import vueI18n from '@intlify/eslint-plugin-vue-i18n'
import withNuxt from './.nuxt/eslint.config.mjs'

export default withNuxt([
  ...vueI18n.configs['flat/recommended'],
  {
    plugins: {
      prettier: prettierPlugin,
    },
    rules: {
      ...eslintConfigPrettier.rules,
      ...eslintPluginPrettierRecommended.rules,

      'no-console': 'warn',
      'vue/multi-word-component-names': 'off',
    },
    settings: {
      'vue-i18n': {
        localeDir: './localizat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by meirroth
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