[tslint] ban exclusive tests (#30448) (#30462)

Fixes #30262

Adds tslint rules to explicitly ban `describe.only`, `it.only`, and `test.only`.
This commit is contained in:
Spencer 2019-02-09 23:46:05 -08:00 committed by GitHub
parent 86d723546d
commit 76dc029abf
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
- |-