all lint error in this branch is fixed

pull/15466/head
Mahmut Gundogdu 3 years ago
parent ea8269f4f8
commit 1fba752ecb

@ -6,7 +6,7 @@ import { Component } from '@angular/core';
templateUrl: './home.component.html',
})
export class HomeComponent {
loading: boolean = false;
loading = false;
get hasLoggedIn(): boolean {
return this.authService.isAuthenticated;
}

@ -1,4 +1,4 @@
import { Rule, SchematicContext, SchematicsException, Tree } from '@angular-devkit/schematics';
import { Rule, SchematicsException } from '@angular-devkit/schematics';
import { isLibrary, updateWorkspace, WorkspaceDefinition } from '../../utils';
import { allStyles, styleMap } from './style-map';
import { ProjectDefinition } from '@angular-devkit/core/src/workspace';
@ -7,7 +7,7 @@ import { ChangeThemeOptions } from './model';
import { ThemeOptionsEnum } from './theme-options.enum';
export default function (_options: ChangeThemeOptions): Rule {
return async (_: Tree, __: SchematicContext) => {
return async () => {
const targetThemeName = _options.name;
const selectedProject = _options.targetProject;
if (!targetThemeName) {

@ -77,7 +77,6 @@ export interface ParameterInSignature {
typeSimple: string;
isOptional: boolean;
// eslint-disable-next-line
// @typescript-eslint/no-explicit-any
defaultValue: any;
}
@ -89,7 +88,6 @@ export interface ParameterInBody {
typeSimple: string;
isOptional: boolean;
// eslint-disable-next-line
// @typescript-eslint/no-explicit-any
defaultValue: any;
constraintTypes: string[] | null;
bindingSourceId: eBindingSourceId;

@ -1,6 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
import { camel } from './text';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const shouldQuote = require('should-quote');
export const getParamName = (paramName: string) =>
shouldQuote(paramName) ? `["${paramName}"]` : paramName;

Loading…
Cancel
Save