Setup: - Angular 18 standalone project with routing - TypeScript strict mode enabled - Angular Material Cyan/Orange theme configured - ESLint + Prettier for code quality - Path aliases configured (@app, @services, @models, etc.) - Environment files for dev/prod configurations Dependencies: - @angular/core@18.2.x - @angular/material@18.2.x - @angular/cdk@18.2.x - chart.js@4.4.x (prepared for graphs) - rxjs@7.8.x Closes #17
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": ["projects/**/*"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts"],
|
|
"parserOptions": {
|
|
"project": ["tsconfig.json"],
|
|
"createDefaultProgram": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@angular-eslint/recommended",
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"type": "attribute",
|
|
"prefix": "app",
|
|
"style": "camelCase"
|
|
}
|
|
],
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"type": "element",
|
|
"prefix": "app",
|
|
"style": "kebab-case"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"extends": [
|
|
"plugin:@angular-eslint/template/recommended"
|
|
],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|