Skip to content

Instantly share code, notes, and snippets.

@djungowski
djungowski / noJasmineFocusRule.js
Created July 18, 2018 13:41
TSLint Check to disallow fdescribe and fit
const ts = require('typescript');
const Lint = require('tslint');
/**
* TSLint Check to disallow fdescribe and fit
*
* Usage in tslint.json: "no-jasmine-focus": true
*/
class Rule extends Lint.Rules.AbstractRule {
/**