Giter Site home page Giter Site logo

sergiioo / tslint-defocus Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 6.0 42 KB

A tslint rule to nag you when you forget that you have focused some Jasmine tests with 'fdescribe' or 'fit'

License: MIT License

JavaScript 1.16% TypeScript 98.84%
typescript tslint tslint-rules jasmine linting-rules

tslint-defocus's People

Contributors

sergiioo avatar waldo000000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tslint-defocus's Issues

Typescript version warning

Thanks for this very useful package, I used to commit fits and fescribes 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?

Remove @types from dependencies

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!

TSlint 5.x

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.

Package cannot be used in a shared library

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.