diff --git a/.eslintrc.json b/.eslintrc.json index fab26a1..43ead3b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -16,11 +16,14 @@ "plugin:@angular-eslint/template/process-inline-templates" ], "rules": { + "brace-style": ["error", "allman"], + "object-curly-spacing": ["error", "always"], + "indent": ["error", 2], "@angular-eslint/directive-selector": [ "error", { "type": "attribute", - "prefix": "app", + "prefix": "il", "style": "camelCase" } ], @@ -28,7 +31,7 @@ "error", { "type": "element", - "prefix": "app", + "prefix": "il", "style": "kebab-case" } ] diff --git a/angular.json b/angular.json index 1ee4b9d..e5ab9a3 100644 --- a/angular.json +++ b/angular.json @@ -12,7 +12,7 @@ }, "root": "", "sourceRoot": "src", - "prefix": "app", + "prefix": "il", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", diff --git a/src/app/app.component.ts b/src/app/app.component.ts index dd35d97..ff66929 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -3,12 +3,13 @@ import { CommonModule } from '@angular/common'; import { RouterOutlet } from '@angular/router'; @Component({ - selector: 'app-root', + selector: 'il-root', standalone: true, imports: [CommonModule, RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.sass' }) -export class AppComponent { +export class AppComponent +{ title = 'imlegend-client'; }