sergiioo / tslint-defocus Goto Github PK
View Code? Open in Web Editor NEWA tslint rule to nag you when you forget that you have focused some Jasmine tests with 'fdescribe' or 'fit'
License: MIT License
A tslint rule to nag you when you forget that you have focused some Jasmine tests with 'fdescribe' or 'fit'
License: MIT License
Thanks for this very useful package, I used to commit fit
s and fescribe
s on a regular base, but now with tslint-defocus our pre commit hooks and CI pipeline catches these quite well.
However, both with Typescript 2.9.2 and 3.1.1 I am receiving this warning message for npm install:
[email protected] requires a peer of typescript@^2.x | ^3.x but none is installed. You must install peer dependencies yourself.
Is anybody else having the same issue?
Hi Sergiioo,
we would like to include your lib (v 2.0.2) into our project but unfortunately it installs further TS types which conflict with our previously used types (mocha vs. jasmine). Would be great if you could remove them from the deps in your package.json and put them to the devDependencies and republish the version or publish a new version for it.
Thx in advance!
Hi,
is it possible that this plugin is not compatible with TSlint version 5.x? :)
I swore I seen it working in my project but after updating to 5.x there are no errors.
It is not possible to use tslint-defocus
in shared libraries. Specifically, when tslint-defocus
rules are defined via rulesDirectory
in a shared library, which is then consumed by other libraries, running tslint on the other libraries leads to a Could not find custom rule directory
error.
This has been reported elsewhere, e.g. here: palantir/tslint#3827. A similar issue was raised, and later fixed, in the tslint-eslint-rules
library here: buzinas/tslint-eslint-rules#165.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.