Skip to content

Commit

Permalink
chore: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Nov 9, 2023
1 parent edbbd08 commit 37618ca
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion projects/demo/src/app/app.browser.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {DocExamplePrimaryTabsIconsModule} from './modules/example-primary-tabs-i
import {LogoModule} from './modules/logo/logo.module';

@NgModule({
bootstrap: [AppComponent],
imports: [
BrowserModule.withServerTransition({
appId: 'demo',
Expand All @@ -35,5 +34,6 @@ import {LogoModule} from './modules/logo/logo.module';
],
declarations: [AppComponent],
providers: APP_PROVIDERS,
bootstrap: [AppComponent],
})
export class AppBrowserModule {}
2 changes: 1 addition & 1 deletion projects/demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {NgDompurifySanitizer} from '@tinkoff/ng-dompurify';
selector: 'my-app',
templateUrl: './app.component.html',
styleUrls: ['./app.style.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
provide: TUI_SANITIZER,
useClass: NgDompurifySanitizer,
},
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {
readonly stackblitzStarterPath = `/${DemoPath.Stackblitz}`;
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/app/app.server.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {ServerErrorHandler} from './server-error-handler';

@NgModule({
imports: [AppBrowserModule, ServerModule, UniversalModule],
bootstrap: [AppComponent],
providers: [{provide: ErrorHandler, useClass: ServerErrorHandler}],
bootstrap: [AppComponent],
})
export class AppServerModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ type GeneratorOptions = Required<
@Component({
selector: 'number-mask-doc',
templateUrl: './number-mask-doc.template.html',
providers: [tuiInputCountOptionsProvider({min: Number.MIN_SAFE_INTEGER})],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [tuiInputCountOptionsProvider({min: Number.MIN_SAFE_INTEGER})],
})
export class NumberMaskDocComponent implements GeneratorOptions {
@ViewChild('apiPageInput', {read: ElementRef})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {StackblitzService} from '../../stackblitz.service';
></tui-loader>
`,
styleUrls: ['./stackblitz-starter.style.less'],
providers: [StackblitzService],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [StackblitzService],
})
export class StackblitzStarterComponent implements OnInit {
constructor(
Expand Down

0 comments on commit 37618ca

Please sign in to comment.