Skip to content

Commit fdbcb01

Browse files
committed
Fix eslint config per coderabbit comment
1 parent f0aed25 commit fdbcb01

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

eslint.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ export default defineConfig([
2727
},
2828
},
2929
rules: {
30-
'@tinymce/prefer-fun': 'off',
3130
'@tinymce/prefer-fun': 'off',
3231
'no-underscore-dangle': 'off',
3332
'@typescript-eslint/member-ordering': 'off',
34-
'@typescript-eslint/parameter-properties': 'off'
3533
}
3634
},
3735
{

stories/form-control/FormControl.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class FormControlComponent {
1010
public apiKey = apiKey;
1111
public formControl: FormControl<string | null>;
1212

13+
// eslint-disable-next-line @typescript-eslint/parameter-properties
1314
public constructor(private readonly formBuilder: FormBuilder) {
1415
this.formControl = this.formBuilder.control<string | null>(null);
1516
// eslint-disable-next-line no-console

stories/pipes/Safe.pipe.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
55
name: 'safe'
66
})
77
export class SafePipe implements PipeTransform {
8+
9+
// eslint-disable-next-line @typescript-eslint/parameter-properties
810
public constructor(protected sanitizer: DomSanitizer) {}
911

1012
public transform(value: string, type: string): SafeHtml {

tinymce-angular-component/src/main/ts/editor/editor.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/parameter-properties */
12
import { isPlatformBrowser, CommonModule } from '@angular/common';
23
import {
34
AfterViewInit,

0 commit comments

Comments
 (0)