add google style linter

This commit is contained in:
Антон 2024-01-13 18:17:16 +03:00
parent b0435fe1e1
commit f1d7d1d44b
4 changed files with 8 additions and 4 deletions

View File

@ -16,6 +16,7 @@
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"new-cap": "off",
"brace-style": ["error", "allman"],
"object-curly-spacing": ["error", "always"],
"indent": ["error", 2],

View File

@ -225,7 +225,7 @@
<clipPath id="a"><path fill="#fff" d="M0 0h982v239H0z" /></clipPath>
</defs>
</svg>
<h1>Hello, {{ title }}</h1>
<h1>Hello, {{ main_title }}</h1>
<p>Congratulations! Your app is running. 🎉</p>
</div>
<div class="divider" role="separator" aria-label="Divider"></div>

View File

@ -7,9 +7,12 @@ import { RouterOutlet } from '@angular/router';
standalone: true,
imports: [CommonModule, RouterOutlet],
templateUrl: './app.component.html',
styleUrl: './app.component.sass'
styleUrl: './app.component.sass',
})
/**
* @description Основной компонент, в котором рендерится все приложение
*/
export class AppComponent
{
title = 'imlegend-client';
main_title = 'imlegend-client';
}

View File

@ -4,5 +4,5 @@ import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes)]
providers: [provideRouter(routes)],
};