Permalink
Browse files

chore(lint): use common tslint-ionic-rules package for TSLint rules (#…

1 parent a51fbc5 commit 759994a4fdd550df3e286cfa811f371a8dedf1fc @dwieeb dwieeb committed with adamdbradley May 25, 2016
Showing with 6 additions and 65 deletions.
  1. +4 −4 package.json
  2. +2 −61 tslint.json
View
@@ -59,7 +59,7 @@
"gulp-scss-lint": "^0.3.9",
"gulp-shell": "^0.4.0",
"gulp-strip-debug": "^1.1.0",
- "gulp-tslint": "^4.3.4",
+ "gulp-tslint": "^5.0.0",
"gulp-typescript": "2.12.1",
"gulp-util": "^3.0.6",
"gulp-watch": "^4.2.4",
@@ -87,8 +87,8 @@
"strip-sourcemap-loader": "0.0.1",
"systemjs": "0.19.6",
"through2": "^0.6.3",
- "tslint": "^3.7.1",
- "tslint-eslint-rules": "^1.2.0",
+ "tslint": "^3.10.2",
+ "tslint-ionic-rules": "0.0.2",
"typescript": "1.8.7",
"vinyl": "^0.4.6",
"webpack": "^1.12.2",
@@ -99,4 +99,4 @@
"path": "node_modules/ionic-cz-conventional-changelog"
}
}
-}
+}
View
@@ -1,62 +1,3 @@
{
- "rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules",
- "rules": {
- "class-name": true,
- "comment-format": [
- true,
- "check-space"
- ],
- "indent": [
- true,
- "spaces"
- ],
- "no-duplicate-variable": true,
- "no-eval": true,
- "no-internal-module": true,
- "no-trailing-whitespace": true,
- "no-var-keyword": false,
- "one-line": [
- true,
- "check-open-brace",
- "check-whitespace"
- ],
- "quotemark": [
- true,
- "single"
- ],
- "semicolon": [
- true,
- "always"
- ],
- "triple-equals": [
- true,
- "allow-null-check"
- ],
- "typedef-whitespace": [
- true,
- {
- "call-signature": "nospace",
- "index-signature": "nospace",
- "parameter": "nospace",
- "property-declaration": "nospace",
- "variable-declaration": "nospace"
- }
- ],
- "variable-name": [
- true,
- "ban-keywords"
- ],
- "whitespace": [
- true,
- "check-branch",
- "check-decl",
- "check-operator",
- "check-separator",
- "check-type"
- ],
- "no-inner-declarations": [
- true,
- "functions"
- ]
- }
-}
+ "extends": "tslint-ionic-rules"
+}

0 comments on commit 759994a

Please sign in to comment.