feat(app): nuxt version

This commit is contained in:
Corentin Thomasset 2024-10-24 14:40:54 +02:00
parent f836666417
commit 87cfc9c1f3
No known key found for this signature in database
GPG key ID: DBD997E935996158
504 changed files with 8075 additions and 33366 deletions

View file

@ -0,0 +1,23 @@
import antfu from '@antfu/eslint-config';
export default antfu({
stylistic: {
semi: true,
},
vue: true,
rules: {
// To allow export on top of files
'ts/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
'curly': ['error', 'all'],
'vitest/consistent-test-it': ['error', { fn: 'test' }],
'ts/consistent-type-definitions': ['error', 'type'],
'style/brace-style': ['error', '1tbs', { allowSingleLine: false }],
'unused-imports/no-unused-vars': ['error', {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
}],
},
});