tslint-jasmine
A set of TSLint rules for jasmine
Installation
npm install tslint-jasmine
Configuration
Add "node_modules/tslint-jasmine"
under your "rulesDirectory"
configuration in tslint.json
:
Available rules
Rule | What does it do | Since |
---|---|---|
no-jasmine-focus | Throws lint error if fdescribe or fit is used somewhere |
1.0 |
no-jasmine-exclude | Throws lint error if xdescribe or xit is used somewhere |
1.0 |
no-jasmine-pending | Throws lint error if pending is used somewhere |
1.0 |
Using all rules
In case you want to use all the rules, you can simply extend the ruleset, instead of defining all rules:
Changelog
1.0
- Initial release with
no-jasmine-focus
,no-jasmine-exclude
andno-jasmine-pending
rules andall
ruleset