Skip to content

Commit 0f190c2

Browse files
committed
feat(codelyzer): add extra linting rules
1 parent 5ecc51e commit 0f190c2

File tree

8 files changed

+12
-8
lines changed

8 files changed

+12
-8
lines changed

src/client/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core';
2-
import { Config} from './shared/index';
2+
import { Config } from './shared/index';
33

44
/**
55
* This class represents the main application component. Within the @Routes annotation is the configuration of the

src/client/app/shared/toolbar/toolbar.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component} from '@angular/core';
1+
import { Component } from '@angular/core';
22

33
/**
44
* This class represents the toolbar component.

tools/env/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {EnvConfig} from './env-config.interface';
1+
import { EnvConfig } from './env-config.interface';
22

33
const BaseConfig: EnvConfig = {
44
// Sample API url

tools/env/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {EnvConfig} from './env-config.interface';
1+
import { EnvConfig } from './env-config.interface';
22

33
const DevConfig: EnvConfig = {
44
ENV: 'DEV'

tools/env/prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {EnvConfig} from './env-config.interface';
1+
import { EnvConfig } from './env-config.interface';
22

33
const ProdConfig: EnvConfig = {
44
ENV: 'PROD'

tools/tasks/seed/build.js.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as gulp from 'gulp';
22
import * as gulpLoadPlugins from 'gulp-load-plugins';
3-
import { join} from 'path';
3+
import { join } from 'path';
44

55
import Config from '../../config';
66
import { makeTsProject } from '../../utils';

tools/tasks/seed/compile.ahead.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as tsc from '@angular/tsc-wrapped';
44
import { argv } from 'yargs';
55
import { join } from 'path';
66
import { writeFileSync, readFileSync } from 'fs';
7-
import {CodeGenerator} from '@angular/compiler-cli';
7+
import { CodeGenerator } from '@angular/compiler-cli';
88

99
import Config from '../../config';
1010

tslint.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
"use-life-cycle-interface": true,
4747
"use-pipe-transform-interface": true,
4848
"component-class-suffix": true,
49-
"directive-class-suffix": true
49+
"directive-class-suffix": true,
50+
"import-destructuring-spacing": true,
51+
"templates-use-public": true,
52+
"no-access-missing-member": true,
53+
"invoke-injectable": true
5054
}
5155
}

0 commit comments

Comments
 (0)