Skip to content

Commit

Permalink
Enable more strict checks for linter/tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Dec 2, 2016
1 parent 5c6d57a commit 1407485
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"outDir": ".tmp",
"pretty": true,
"moduleResolution": "node",
"noUnusedParameters": true,
"noUnusedLocals": true,
"types": [
"core-js",
"jasmine",
Expand Down
16 changes: 8 additions & 8 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
],
"no-arg": true,
"no-construct": true,
"no-duplicate-key": true,

"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-unreachable": true,
"no-use-before-declare": true,
"one-line": [true,
"check-open-brace",
Expand All @@ -36,10 +34,8 @@
],
"variable-name": false,

"directive-selector-type": [true, "attribute"],
"component-selector-type": [true, "element"],
"component-selector-name": [true, "kebab-case"],
"directive-selector-name": [true, "camelCase"],
"directive-selector": [true, "attribute", "", "camelCase"],
"component-selector": [true, "element", "", "kebab-case"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
Expand All @@ -53,6 +49,10 @@
"no-access-missing-member": true,
"invoke-injectable": 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
}
}

0 comments on commit 1407485

Please sign in to comment.