diff --git a/package.json b/package.json index 32eb9005..2624c00c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/common.ts b/src/common.ts index d4ac9fd5..6640689d 100644 --- a/src/common.ts +++ b/src/common.ts @@ -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