Skip to content

Commit

Permalink
fix: extend config correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan committed Oct 8, 2018
1 parent f29f28e commit 18e5ace
Show file tree
Hide file tree
Showing 4 changed files with 1,019 additions and 12 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"semantic-release": "semantic-release"
},
"peerDependencies": {
"tslint": ">=5.6.0"
"tslint": ">=5.6.0",
"tslint-eslint-rules": ">=5.4.0",
"tslint-config-prettier": ">=1.15.0"
},
"dependencies": {},
"devDependencies": {
Expand All @@ -49,8 +51,8 @@
"semantic-release": "^15",
"ts-jest": "^23.10.0-beta.1",
"tslint": "^5",
"tslint-config-esg": "github:EndemolShineGroup/tslint-config-esg",
"tslint-config-prettier": "^1",
"tslint-eslint-rules": "^5.4.0",
"tslint-config-prettier": "^1.15.0",
"typedoc": "^0.12.0",
"typescript": "^3"
},
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export = {
extends: ['tslint-eslint-rules', 'tslint-config-prettier'],
rules: {
/**
* ES6
Expand Down
3 changes: 2 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"defaultSeverity": "warning",
"extends": [
"tslint-config-esg",
"tslint-eslint-rules",
".",
"tslint-config-prettier"
]
}
Loading

0 comments on commit 18e5ace

Please sign in to comment.