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

Commit

Permalink
feat(core): upgrade to latest tslint, codelyzer (#149)
Browse files Browse the repository at this point in the history
New rules, codelyzer:
+    "i18n": true,
+    "no-output-on-prefix": true,

New rules, tslint:
+    "ban-comma-operator": true,
+    "no-duplicate-switch-case": true,
+    "no-implicit-dependencies": true,
+    "no-redundant-jsdoc":true,
+    "no-return-await": true,
+    "no-unnecessary-class": true
  • Loading branch information
Vyacheslav Panchenko authored and valorkin committed Dec 7, 2017
1 parent 14b1429 commit 25237b3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"flow.changelog": "conventional-changelog -i CHANGELOG.md -s -p angular -v",
"flow.github-release": "conventional-github-releaser -p angular",
"lint": "tslint test/fixture.ts -c tslint-local.json --type-check -p tsconfig.json --fix",
"lint": "tslint test/fixture.ts -c tslint-local.json -p tsconfig.json --fix",
"test": "mocha test/config.spec.js",
"preversion": "npm test",
"version": "npm run flow.changelog && git add -A",
Expand All @@ -32,23 +32,28 @@
},
"homepage": "https://github.com/valor-software/tslint-config-valorsoft#readme",
"peerDependencies": {
"codelyzer": "^3.2.0",
"tslint": "^5.7.0"
"@angular/core": ">=4.3.2",
"@angular/compiler": ">=4.3.2",
"@angular/platform-browser-dynamic": ">=5.1.0",
"codelyzer": ">=4.0.1",
"tslint": ">=5.8.0"
},
"devDependencies": {
"@angular/common": "5.1.0",
"@angular/compiler": "4.3.2",
"@angular/core": "4.3.2",
"@angular/language-service": "4.3.2",
"@angular/platform-browser-dynamic": "5.1.0",
"chai": "4.1.0",
"change-case": "3.0.1",
"codelyzer": "3.2.0",
"codelyzer": "4.0.1",
"conventional-changelog-cli": "1.3.3",
"conventional-github-releaser": "1.1.12",
"husky": "0.14.3",
"mocha": "3.5.2",
"rxjs": "5.4.2",
"strip-json-comments": "2.0.1",
"tslint": "5.7.0",
"tslint": "5.8.0",
"typescript": "2.4.2",
"zone.js": "0.8.16"
}
Expand Down
16 changes: 11 additions & 5 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,21 @@
"pipe-naming": [true, "camelCase", "sg"],
"component-class-suffix": true,
"directive-class-suffix": true,
"templates-use-public": true,
"no-access-missing-member": true,
"invoke-injectable": true,
"template-to-ng-template": true,
"import-destructuring-spacing": false,
"no-unused-css": false,
"pipe-impure": false,
"use-pipe-decorator": false,
"contextual-life-cycle": true,
"decorator-not-allowed": true
"decorator-not-allowed": true,

"i18n": true,
"no-output-on-prefix": true,

"ban-comma-operator": true,
"no-duplicate-switch-case": true,
"no-implicit-dependencies": true,
"no-redundant-jsdoc":true,
"no-return-await": true,
"no-unnecessary-class": true
}
}

0 comments on commit 25237b3

Please sign in to comment.