Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
feat: allow-empty-catch (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
unional authored Jan 6, 2018
1 parent f63d17f commit e4d126c
Show file tree
Hide file tree
Showing 11 changed files with 1,706 additions and 20 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: node_js

cache:
directories:
- ~/.npm
notifications:
email:
on_success: never
on_failure: change

email: false
node_js:
- '9'
- '8'
- '6'
- '4'
after_success:
- npm install -g travis-deploy-once@4
- travis-deploy-once "npm run semantic-release"
branches:
only:
- master
- /^greenkeeper/.*$/

node_js:
- "stable"
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
"tsconfig.*.json"
],
"url": "http://json.schemastore.org/tsconfig"
},
{
"fileMatch": [
"semi-standard.js",
"standard.js",
"strict.js"
],
"url": "http://json.schemastore.org/tslint"
}
]
}
10 changes: 10 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,21 @@ gulp.task('tslint-standard-negative', function () {
return negativeTest('standard');
});

gulp.task('tslint-semi-standard-positive', function () {
return positiveTest('semi-standard');
});

gulp.task('tslint-semi-standard-negative', function () {
return negativeTest('semi-standard');
});

gulp.task('tslint', [
'tslint-index-positive',
'tslint-index-negative',
'tslint-standard-positive',
'tslint-standard-negative',
'tslint-semi-standard-positive',
'tslint-semi-standard-negative',
'tslint-strict-positive',
'tslint-strict-negative'
]);
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = {
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-empty": [true, "allow-empty-catch"],
"no-eval": true,
"no-inferrable-types": false,
"no-internal-module": true,
Expand Down
Loading

0 comments on commit e4d126c

Please sign in to comment.