Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Commit

Permalink
feat(package): rules updates to reflect codelyzer 3.2 and tslint 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Sep 11, 2017
1 parent a5f9d75 commit 4fe1fc3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
},
"homepage": "https://github.com/valor-software/tslint-config-valorsoft#readme",
"peerDependencies": {
"codelyzer": "^3.1.2",
"tslint": "^5.5.0"
"codelyzer": "^3.2.0",
"tslint": "^5.7.0"
},
"devDependencies": {
"@angular/compiler": "4.3.2",
Expand Down
8 changes: 7 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"no-magic-numbers": true,
"no-namespace": true,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-reference": true,
"no-unnecessary-type-assertion": true,
"no-var-requires": true,
Expand Down Expand Up @@ -64,6 +65,7 @@
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
"no-this-assignment": true,
"no-unbound-method": true,
Expand Down Expand Up @@ -93,6 +95,7 @@
"max-classes-per-file": [true, 1],
"max-line-length": [true, 120],
"no-default-export": true,
"no-duplicate-imports": true,
"no-mergeable-namespace": true,
"no-require-imports": false,
"object-literal-sort-keys": false,
Expand Down Expand Up @@ -148,6 +151,7 @@
"return-undefined": true,
"semicolon": [true, "always"],
"space-before-function-paren": [true, "never"],
"space-within-parens": 0,
"switch-final-break": true,
"type-literal-delimiter": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
Expand Down Expand Up @@ -183,6 +187,8 @@
"import-destructuring-spacing": false,
"no-unused-css": false,
"pipe-impure": false,
"use-pipe-decorator": false
"use-pipe-decorator": false,
"contextual-life-cycle": true,
"decorator-not-allowed": true
}
}

0 comments on commit 4fe1fc3

Please sign in to comment.