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

Require additionnal rules instead of listing them as peerDependencies.

parent 07ea23c0
......@@ -11,29 +11,25 @@
"author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>",
"license": "MIT",
"main": "tslint.json",
"peerDependencies": {
"dependencies": {
"codelyzer": "^5.0.0",
"prettier": "^1.15.0",
"prettier-tslint": "^0.4.2",
"rxjs-tslint-rules": "^4.10",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.15.0",
"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"
},
"devDependencies": {
"@angular/compiler": "^8.2.9",
"@angular/core": "^8.2.9",
"codelyzer": "^5.0.0",
"prettier": "^1.15.0",
"prettier-tslint": "^0.4.2",
"rxjs": "^6",
"rxjs-tslint-rules": "^4.10",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.15.0",
"tslint-defocus": "^2.0.6",
"tslint-plugin-prettier": "^2.0.1",
"tsutils": "^3",
"typescript": ">=2.9.0"
},
......
{
"extends": [
"tslint:recommended",
"tslint-defocus",
"rxjs-tslint-rules",
"tslint-config-prettier"
"./node_modules/tslint-defocus",
"./node_modules/rxjs-tslint-rules",
"./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": {
"arrow-return-shorthand": true,
"array-type": [true, "array-simple"],
......
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