Commit 9db45629 authored by Eduardo Sanz García's avatar Eduardo Sanz García
Browse files

chore: added rxjs tslint rules

parent 6a7631ff
......@@ -62,6 +62,7 @@
"ng-packagr": "^1.6.0",
"protractor": "~5.3.0",
"rxjs": ">=5.5.0 <6.0.0",
"rxjs-tslint-rules": "^3.10.0",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
"typescript": ">=2.4.2 <2.7.0",
......
......@@ -2,6 +2,9 @@
"rulesDirectory": [
"node_modules/codelyzer"
],
"extends": [
"rxjs-tslint-rules"
],
"rules": {
"arrow-return-shorthand": true,
"callable-types": true,
......@@ -138,6 +141,10 @@
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true
"directive-class-suffix": true,
"rxjs-no-add": { "severity": "error" },
"rxjs-no-operator": { "severity": "error" },
"rxjs-no-patched": { "severity": "error" },
"rxjs-no-wholesale": { "severity": "error" }
}
}
......@@ -6488,6 +6488,13 @@ run-queue@^1.0.0, run-queue@^1.0.3:
dependencies:
aproba "^1.1.1"
rxjs-tslint-rules@^3.10.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/rxjs-tslint-rules/-/rxjs-tslint-rules-3.10.0.tgz#f3fa6e8aa498cd058e271e1dd28e38a7f06e5cfd"
dependencies:
resolve "^1.4.0"
tslib "^1.8.0"
"rxjs@>=5.5.0 <6.0.0", rxjs@^5.5.6:
version "5.5.6"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.6.tgz#e31fb96d6fd2ff1fd84bcea8ae9c02d007179c02"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment