mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics * add schematics * upgrade demoshell to eslint * fix eslint issues for demoshell * integrate eslint for ADF core and fix some issues * turn into warn * fix code * workaround for Chrome clipboard issue * exclude e2e tests * exclude e2e
This commit is contained in:
@@ -25,7 +25,7 @@ import { ThemePalette } from '@angular/material/core';
|
||||
@Component({
|
||||
templateUrl: './app-layout.component.html',
|
||||
styleUrls: ['./app-layout.component.scss'],
|
||||
host: { 'class': 'app-layout' },
|
||||
host: { class: 'app-layout' },
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class AppLayoutComponent implements OnInit, OnDestroy {
|
||||
|
@@ -72,7 +72,7 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
|
||||
'custom-something': () => CustomWidgetComponent,
|
||||
'custom-boolean': () => CustomWidgetComponent,
|
||||
'custom-date': () => CustomWidgetComponent,
|
||||
'custom': () => CustomWidgetComponent
|
||||
custom: () => CustomWidgetComponent
|
||||
});
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
|
||||
|
||||
const fileReader = new FileReader();
|
||||
fileReader.onload = () => {
|
||||
this.formConfig = <string> fileReader.result;
|
||||
this.formConfig = fileReader.result as string;
|
||||
};
|
||||
fileReader.readAsText(file);
|
||||
|
||||
|
Reference in New Issue
Block a user