Skip to content

Commit da1222b

Browse files
committed
fix: linting
1 parent c676b1b commit da1222b

File tree

3 files changed

+292
-2
lines changed

3 files changed

+292
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
git config --global user.email "$GIT_AUTHOR_EMAIL"
2424
curl https://api.heroku.com/schema -H "Accept: application/vnd.heroku+json; version=3" > schema.json
2525
cat schema.json | ./node_modules/.bin/json2ts --no-style.semi --style.singleQuote > lib/index.d.ts
26+
./node_modules/.bin/tslint --fix lib/index.d.ts
2627
sed -i -r "s/Heroku(Platform|Build|Setup|Vault)Api([^ ])/\2/" lib/index.d.ts
2728
git add schema.json lib/index.d.ts
2829
git commit -m "fix: updated schema" || exit 0

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"author": "Jeff Dickey @jdxcode",
55
"bugs": "https://github.com/heroku/typescript-api-schema/issues",
66
"devDependencies": {
7+
"@oclif/tslint": "^1.1.2",
78
"json-schema-to-typescript": "^5.5.0",
9+
"tslint": "^5.10.0",
810
"typescript": "^2.8"
911
},
1012
"engines": {

0 commit comments

Comments
 (0)