Commit b03d8761 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Require additionnal rules instead of listing them as peerDependencies.

No related merge requests found
Showing with 14 additions and 14 deletions
+14 -14
...@@ -11,29 +11,25 @@ ...@@ -11,29 +11,25 @@
"author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>", "author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>",
"license": "MIT", "license": "MIT",
"main": "tslint.json", "main": "tslint.json",
"peerDependencies": { "dependencies": {
"codelyzer": "^5.0.0", "codelyzer": "^5.0.0",
"prettier": "^1.15.0",
"prettier-tslint": "^0.4.2", "prettier-tslint": "^0.4.2",
"rxjs-tslint-rules": "^4.10", "rxjs-tslint-rules": "^4.10",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.15.0", "tslint-config-prettier": "^1.15.0",
"tslint-defocus": "^2.0.6", "tslint-defocus": "^2.0.6",
"tslint-plugin-prettier": "^2.0.1", "tslint-plugin-prettier": "^2.0.1"
},
"peerDependencies": {
"prettier": "^1.15.0",
"tslint": "^5.9.1",
"typescript": ">=2.9.0" "typescript": ">=2.9.0"
}, },
"devDependencies": { "devDependencies": {
"@angular/compiler": "^8.2.9", "@angular/compiler": "^8.2.9",
"@angular/core": "^8.2.9", "@angular/core": "^8.2.9",
"codelyzer": "^5.0.0",
"prettier": "^1.15.0", "prettier": "^1.15.0",
"prettier-tslint": "^0.4.2",
"rxjs": "^6", "rxjs": "^6",
"rxjs-tslint-rules": "^4.10",
"tslint": "^5.9.1", "tslint": "^5.9.1",
"tslint-config-prettier": "^1.15.0",
"tslint-defocus": "^2.0.6",
"tslint-plugin-prettier": "^2.0.1",
"tsutils": "^3", "tsutils": "^3",
"typescript": ">=2.9.0" "typescript": ">=2.9.0"
}, },
......
{ {
"extends": [ "extends": [
"tslint:recommended", "tslint:recommended",
"tslint-defocus", "./node_modules/tslint-defocus",
"rxjs-tslint-rules", "./node_modules/rxjs-tslint-rules",
"tslint-config-prettier" "./node_modules/tslint-config-prettier/lib/index.json"
],
"rulesDirectory": [
"./node_modules/codelyzer",
"./node_modules/tslint-defocus/dist",
"./node_modules/tslint-plugin-prettier/rules"
], ],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": { "rules": {
"arrow-return-shorthand": true, "arrow-return-shorthand": true,
"array-type": [true, "array-simple"], "array-type": [true, "array-simple"],
......
Supports Markdown
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