mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
Enable more strict checks for linter/tsc
This commit is contained in:
parent
5c6d57ab2c
commit
14074856b6
|
@ -9,6 +9,8 @@
|
||||||
"outDir": ".tmp",
|
"outDir": ".tmp",
|
||||||
"pretty": true,
|
"pretty": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
"types": [
|
"types": [
|
||||||
"core-js",
|
"core-js",
|
||||||
"jasmine",
|
"jasmine",
|
||||||
|
|
16
tslint.json
16
tslint.json
|
@ -13,14 +13,12 @@
|
||||||
],
|
],
|
||||||
"no-arg": true,
|
"no-arg": true,
|
||||||
"no-construct": true,
|
"no-construct": true,
|
||||||
"no-duplicate-key": true,
|
|
||||||
"no-duplicate-variable": true,
|
"no-duplicate-variable": true,
|
||||||
"no-empty": true,
|
"no-empty": true,
|
||||||
"no-eval": true,
|
"no-eval": true,
|
||||||
"no-trailing-whitespace": true,
|
"no-trailing-whitespace": true,
|
||||||
"no-unused-expression": true,
|
"no-unused-expression": true,
|
||||||
"no-unused-variable": true,
|
|
||||||
"no-unreachable": true,
|
|
||||||
"no-use-before-declare": true,
|
"no-use-before-declare": true,
|
||||||
"one-line": [true,
|
"one-line": [true,
|
||||||
"check-open-brace",
|
"check-open-brace",
|
||||||
|
@ -36,10 +34,8 @@
|
||||||
],
|
],
|
||||||
"variable-name": false,
|
"variable-name": false,
|
||||||
|
|
||||||
"directive-selector-type": [true, "attribute"],
|
"directive-selector": [true, "attribute", "", "camelCase"],
|
||||||
"component-selector-type": [true, "element"],
|
"component-selector": [true, "element", "", "kebab-case"],
|
||||||
"component-selector-name": [true, "kebab-case"],
|
|
||||||
"directive-selector-name": [true, "camelCase"],
|
|
||||||
"use-input-property-decorator": true,
|
"use-input-property-decorator": true,
|
||||||
"use-output-property-decorator": true,
|
"use-output-property-decorator": true,
|
||||||
"use-host-property-decorator": true,
|
"use-host-property-decorator": true,
|
||||||
|
@ -53,6 +49,10 @@
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": true,
|
||||||
"invoke-injectable": true,
|
"invoke-injectable": true,
|
||||||
"no-forward-ref": true,
|
"no-forward-ref": true,
|
||||||
"no-attribute-parameter-decorator": true
|
"no-attribute-parameter-decorator": true,
|
||||||
|
"templates-use-public": true,
|
||||||
|
"no-access-missing-member": true,
|
||||||
|
"invoke-injectable": true,
|
||||||
|
"no-unused-css": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user