Initial commit of the L'Ami Fiduciaire SaaS platform built on Laravel 12, Vue 3, Inertia.js 2, and Tailwind CSS 4. Story 0.1 (rename folders to declarations in database) is implemented and code-reviewed: migration, rollback, and 6 Pest tests all passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
1.8 KiB
JavaScript
61 lines
1.8 KiB
JavaScript
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript';
|
|
import prettier from 'eslint-config-prettier/flat';
|
|
import importPlugin from 'eslint-plugin-import';
|
|
import vue from 'eslint-plugin-vue';
|
|
|
|
export default defineConfigWithVueTs(
|
|
vue.configs['flat/essential'],
|
|
vueTsConfigs.recommended,
|
|
{
|
|
plugins: {
|
|
import: importPlugin,
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
typescript: {
|
|
alwaysTryTypes: true,
|
|
project: './tsconfig.json',
|
|
},
|
|
node: true,
|
|
},
|
|
},
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/consistent-type-imports': [
|
|
'error',
|
|
{
|
|
prefer: 'type-imports',
|
|
fixStyle: 'separate-type-imports',
|
|
},
|
|
],
|
|
'import/order': [
|
|
'error',
|
|
{
|
|
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
|
|
alphabetize: {
|
|
order: 'asc',
|
|
caseInsensitive: true,
|
|
},
|
|
},
|
|
],
|
|
'import/consistent-type-specifier-style': [
|
|
'error',
|
|
'prefer-top-level',
|
|
],
|
|
},
|
|
},
|
|
{
|
|
ignores: [
|
|
'vendor',
|
|
'node_modules',
|
|
'public',
|
|
'bootstrap/ssr',
|
|
'tailwind.config.js',
|
|
'vite.config.ts',
|
|
'resources/js/components/ui/*',
|
|
],
|
|
},
|
|
prettier, // Turn off all rules that might conflict with Prettier
|
|
);
|