Skip to content
Snippets Groups Projects
Commit a579cfc0 authored by Homada.Boumedane's avatar Homada.Boumedane
Browse files

chore(solidify-frontend): lint

fix some lit error and exclude schematics folders from lint
parent 3619a6e6
No related branches found
Tags v0.0.6
No related merge requests found
......@@ -13,7 +13,7 @@ export class SolidifyFrontendComponent implements OnInit {
constructor() { }
ngOnInit() {
ngOnInit(): void {
}
}
......@@ -2,6 +2,7 @@ import {AbstractControl, ValidationErrors, ValidatorFn} from "@angular/forms";
export const SOLIDFIY_ERRORS: string = "SOLIDFIY_META_ERRORS";
// tslint:disable-next-line:variable-name
export const SolidifyValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {
const result = control[SOLIDFIY_ERRORS];
delete control[SOLIDFIY_ERRORS];
......
......@@ -35,14 +35,10 @@
"comment-format": [
true
],
"component-class-suffix": [
/* "component-class-suffix": [
true,
"AppComponent",
"Routable",
"Presentational",
"Container",
"Dialog"
],
"Component",
],*/
"component-selector": [
true,
"element",
......@@ -199,5 +195,11 @@
},
"rulesDirectory": [
"node_modules/codelyzer"
]
],
"linterOptions": {
"exclude": [
"projects/solidify-frontend/schematics/**/*.ts",
"projects/solidify-frontend/schematics/**/*.json"
]
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment