- Configure Next.js 15 (App Router, Node.js runtime, serverExternalPackages for better-sqlite3/bcrypt) - Add Tailwind CSS, PostCSS, tsconfig with @/* alias - Create app structure (layout, page, globals.css) - Create directory structure (lib, repositories, services, components, tests) - Configure Vitest (alias, coverage), Playwright - Add dependencies: next, react, better-sqlite3, bcrypt, react-markdown, etc. - Add .env.example, CI workflow, next-env.d.ts - Remove boilerplate src/example files
34 lines
794 B
JavaScript
34 lines
794 B
JavaScript
import eslint from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
import prettierConfig from 'eslint-config-prettier';
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
prettierConfig,
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{ argsIgnorePattern: '^_' },
|
|
],
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
},
|
|
},
|
|
{
|
|
ignores: [
|
|
'node_modules/**',
|
|
'dist/**',
|
|
'.next/**',
|
|
'.steering/**',
|
|
'data/**',
|
|
'backups/**',
|
|
'playwright-report/**',
|
|
'test-results/**',
|
|
'next-env.d.ts',
|
|
],
|
|
}
|
|
);
|