mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
701c75a2a8
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
22 lines
588 B
JavaScript
22 lines
588 B
JavaScript
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'
|
|
|
|
export default createConfigForNuxt({
|
|
features: {
|
|
tooling: true,
|
|
stylistic: {
|
|
commaDangle: 'never',
|
|
braceStyle: '1tbs'
|
|
}
|
|
}
|
|
}).overrideRules({
|
|
'import/first': 'off',
|
|
'import/order': 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/max-attributes-per-line': ['error', { singleline: 5 }],
|
|
'@typescript-eslint/ban-types': 'off',
|
|
'@typescript-eslint/no-empty-object-type': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off'
|
|
}).prepend({
|
|
ignores: ['src/devtools/.component-meta']
|
|
})
|