From 5583c8a3133db3a5fe3a800b7710cd712dd1ae86 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 23 Oct 2016 20:36:34 +0300 Subject: [PATCH] Enabled a few codelyzer rules --- lib/services/schema-helper.service.ts | 2 +- tslint.json | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/services/schema-helper.service.ts b/lib/services/schema-helper.service.ts index deb4e774..dfe96f9b 100644 --- a/lib/services/schema-helper.service.ts +++ b/lib/services/schema-helper.service.ts @@ -1,7 +1,7 @@ 'use strict'; import { JsonPointer } from '../utils/JsonPointer'; import { SpecManager } from '../utils/spec-manager'; -import {methods as swaggerMethods, keywordTypes} from '../utils/swagger-defs'; +import { methods as swaggerMethods, keywordTypes } from '../utils/swagger-defs'; import { WarningsService } from './warnings.service'; import * as slugify from 'slugify'; diff --git a/tslint.json b/tslint.json index 4783bdfb..19d7a0b3 100644 --- a/tslint.json +++ b/tslint.json @@ -38,12 +38,21 @@ "directive-selector-type": [true, "attribute"], "component-selector-type": [true, "element"], + "component-selector-name": [true, "kebab-case"], + "directive-selector-name": [true, "camelCase"], "use-input-property-decorator": true, "use-output-property-decorator": true, "use-host-property-decorator": true, "no-input-rename": true, "no-output-rename": true, + "pipe-naming": [true, "camelCase"], + "import-destructuring-spacing": true, "use-life-cycle-interface": true, - "use-pipe-transform-interface": true + "use-pipe-transform-interface": true, + "templates-use-public": true, + "no-access-missing-member": true, + "invoke-injectable": true, + "no-forward-ref": true, + "no-attribute-parameter-decorator": true } }