Shared base #1

Open
Senrokai wants to merge 11 commits from shared-base into main
3 changed files with 1447 additions and 67 deletions
Showing only changes of commit d0344d5d17 - Show all commits
+37
View File
@@ -0,0 +1,37 @@
// @ts-check
const { defineConfig } = require('eslint/config');
const avalonBase = require('@avalon-vanguard/config/eslint');
const avalonAngular = require('@avalon-vanguard/config/eslint/angular');
module.exports = defineConfig([
{
// Build, test and Playwright output (see .gitignore): ESLint does not read .gitignore.
ignores: [
'dist/**',
'coverage/**',
'.angular/**',
'node_modules/**',
'out-tsc/**',
'tools/etl/.cache/**',
'e2e/test-output/**',
'test-results/**',
'playwright-report/**',
'blob-report/**',
],
},
{
files: ['**/*.ts'],
extends: [avalonBase, avalonAngular.typescript],
rules: {
'@angular-eslint/directive-selector': [
'error',
{ type: 'attribute', prefix: 'app', style: 'camelCase' },
],
'@angular-eslint/component-selector': [
'error',
{ type: 'element', prefix: 'app', style: 'kebab-case' },
],
},
},
avalonAngular.templates,
]);
+1405 -67
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -7,6 +7,7 @@
"build": "ng build", "build": "ng build",
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"test": "ng test", "test": "ng test",
"lint": "eslint .",
"etl": "tsx tools/etl/build.ts", "etl": "tsx tools/etl/build.ts",
"etl:typecheck": "tsc -p tools/etl/tsconfig.json --noEmit", "etl:typecheck": "tsc -p tools/etl/tsconfig.json --noEmit",
"e2e": "playwright test", "e2e": "playwright test",
@@ -34,16 +35,20 @@
"@angular/cli": "^22.0.6", "@angular/cli": "^22.0.6",
"@angular/compiler-cli": "^22.0.0", "@angular/compiler-cli": "^22.0.0",
"@avalon-vanguard/config": "^1.0.0", "@avalon-vanguard/config": "^1.0.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.61.1", "@playwright/test": "^1.61.1",
"@tailwindcss/postcss": "^4.3.2", "@tailwindcss/postcss": "^4.3.2",
"@types/node": "^26.1.1", "@types/node": "^26.1.1",
"@types/three": "^0.185.1", "@types/three": "^0.185.1",
"angular-eslint": "^22.5.0",
"eslint": "^10.10.0",
"jsdom": "^28.0.0", "jsdom": "^28.0.0",
"postcss": "^8.5.19", "postcss": "^8.5.19",
"prettier": "^3.8.1", "prettier": "^3.8.1",
"tailwindcss": "^4.3.2", "tailwindcss": "^4.3.2",
"tsx": "^4.23.1", "tsx": "^4.23.1",
"typescript": "~6.0.2", "typescript": "~6.0.2",
"typescript-eslint": "^8.70.0",
"vitest": "^4.0.8" "vitest": "^4.0.8"
} }
} }