IntelliClass_FE/eslint.config.mjs
HoshinoSuzumi 8b16bf4b0e
All checks were successful
CI / lint (push) Successful in 4m7s
CI / test (push) Successful in 1m4s
ci: update test snapshot and fix lint
2025-05-07 10:25:06 +08:00

30 lines
701 B
JavaScript

// @ts-check
import prettier from 'prettier'
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt(
// Your custom configs here
{
rules: {
'vue/html-self-closing': 'off',
'vue/no-v-html': 'off',
'vue/singleline-html-element-content-newline': 'off',
'@stylistic/brace-style': 'off',
'@stylistic/arrow-parens': 'off',
'@stylistic/operator-linebreak': 'off',
},
plugins: {
prettier,
},
},
)
.override('nuxt/vue/rules', {
ignores: ['components/ui/**'],
})
.override('nuxt/typescript/rules', {
ignores: ['components/ui/**'],
})
.override('nuxt/disables/routes', {
ignores: ['components/ui/**'],
})