Disallow exclusive tests, i.e. `.only`

pull/1/head
Daniel Gasienica 7 years ago
parent 96442967cc
commit c7305db8c8

@ -12,6 +12,7 @@ module.exports = {
],
plugins: [
'mocha',
'more',
],
@ -33,6 +34,9 @@ module.exports = {
ignoreUrls: true,
}],
// prevents us from accidentally checking in exclusive tests (`.only`):
'mocha/no-exclusive-tests': 'error',
// encourage consistent use of `async` / `await` instead of `then`
'more/no-then': 'error',

Loading…
Cancel
Save