[tslint] ban exclusive tests (#30448)

Fixes #30262

Adds tslint rules to explicitly ban `describe.only`, `it.only`, and `test.only`.
This commit is contained in:
Spencer 2019-02-07 17:30:04 -08:00 committed by GitHub
parent 168d17e474
commit 3f5597a741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,14 @@ rules:
react-a11y-role: true
react-a11y-tabindex-no-positive: true
react-a11y-titles: true
ban:
- true
- name: [describe, only]
message: No exclusive suites.
- name: [it, only]
message: No exclusive tests.
- name: [test, only]
message: No exclusive tests.
require-license-header:
- true
- |-