mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
Enabled a few codelyzer rules
This commit is contained in:
parent
17e7bf9fd8
commit
5583c8a313
|
@ -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';
|
||||
|
||||
|
|
11
tslint.json
11
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user