Skip to content

Commit

Permalink
Merge pull request #337 from whyboris/codelyzer-bump
Browse files Browse the repository at this point in the history
bump tslint & codelyzer versions, update tslint rules & alphabetize
  • Loading branch information
maximegris authored Jun 2, 2019
2 parents acf0d4f + 096e7a9 commit 956381c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 65 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"rxjs": "6.5.2",
"spectron": "5.0.0",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"tslint": "5.17.0",
"typescript": "3.4.5",
"wait-on": "3.2.0",
"webdriver-manager": "12.1.0",
Expand Down
88 changes: 24 additions & 64 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,23 @@
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rulesDirectory": ["node_modules/codelyzer"],
"rules": {
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"comment-format": [true, "check-space"],
"component-class-suffix": true,
"component-selector": [true, "element", "app", "kebab-case"],
"curly": true,
"deprecation": {
"severity": "warn"
},
"deprecation": { "severity": "warn" },
"directive-class-suffix": true,
"eofline": true,
"forin": true,
"import-blacklist": [
true,
"rxjs/Rx"
],
"import-blacklist": [true, "rxjs/Rx"],
"import-spacing": true,
"indent": [
true,
"spaces"
],
"indent": [true, "spaces"],
"interface-over-type-literal": true,
"label-position": true,
"max-line-length": [
true,
140
],
"max-line-length": [true, 140],
"member-access": false,
"member-ordering": [
true,
Expand All @@ -45,34 +32,29 @@
],
"no-arg": true,
"no-bitwise": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-host-metadata-property": true,
"no-inferrable-types": [true, "ignore-params"],
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-misused-new": true,
"no-non-null-assertion": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
Expand All @@ -83,19 +65,10 @@
"check-whitespace"
],
"prefer-const": true,
"quotemark": [
true,
"single"
],
"quotemark": [true, "single"],
"radix": true,
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"semicolon": [true, "always"],
"triple-equals": [true, "allow-null-check"],
"typedef-whitespace": [
true,
{
Expand All @@ -107,6 +80,9 @@
}
],
"unified-signatures": true,
"use-life-cycle-interface": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"variable-name": false,
"whitespace": [
true,
Expand All @@ -115,22 +91,6 @@
"check-operator",
"check-separator",
"check-type"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
],
"no-output-on-prefix": true,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true
]
}
}

0 comments on commit 956381c

Please sign in to comment.