Skip to content

How to deal with vue/multi-word-component-names ? #482

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

You must be logged in to vote

ATM, I turned off the rule only for files inside pages folder only

If someone would stumble upon the same problem. this is my flat config file

// @ts-check
import { readFileSync } from 'node:fs'
import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import eslintConfigPrettier from 'eslint-config-prettier'

const eslintAutoImport = JSON.parse(
  readFileSync('./tsconfig/eslint-auto-import.json', { encoding: 'utf8' })
)

export default [
  { languageOptions: eslintAutoImport },
  pluginJs.configs.recommended,
  ...tseslint.configs.recommended,
  ...pluginVue.configs['flat/recommended'],
  {
    files: ['**/*.vue'],
    languageO…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Comment options

You must be logged in to vote
2 replies
@posva
Comment options

@oliverpool
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #481 on August 18, 2024 13:59.