feat: adjust TSLint command to enable advanced rules

References #21
This commit is contained in:
Karl-Philipp Wulfert
2019-05-24 17:53:26 +02:00
parent 76ebbfab53
commit 14b6420c33
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
"install": "node lib/cli.js -p $INIT_CWD || true",
"prepublishOnly": "npm ci && npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"tslint": "tslint 'src/**/*.ts'"
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
},
"repository": {
"type": "git",

View File

@@ -571,6 +571,7 @@ export function getRules(configuration: Configuration): Rules {
/* tslint:disable-next-line:max-line-length */
'changelog': 'conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m \'docs: update changelog\'',
'check-configuration': 'openstapps-configuration',
tslint: 'tslint -p tsconfig.json -c tslint.json \'src/**/*.ts\'',
};
// list of expected licenses