Coder Social home page Coder Social logo

tslintify's People

Contributors

timothykang avatar

Forkers

mthmulders

tslintify's Issues

Support for TSLint ^5.0.0

TSLint 5.0.0 changed the return object from linter.getResult(): 'failureCountwas split intoerrorCountandwarningCount` (see palantir/tslint@4.5.1...5.0.0-dev.0#diff-105a25db2fd03476fc2d5672bc256a8cR172). New rules have been added as well that require a newer version of TSLint.

I should be able to whip up a PR in the next couple of days to address that if you'd like (going to clean up a bunch of issues I can see while using TSLint 4.5.1 in the project I'm working first).

Using custom project and config options together

I am trying to use this plugin to check for TSLint checks that require type information.

The docs would seem to suggest that specifying
project: '.'

should work, but I get an error saying "Failed to find TSLint configuration".

Explicitly specifying the path to the tslint.json file (not the folder) is more akin to the -c option than the -p option though, in that I get an error saying certain hints require type information. And specifying the path to the tsconfig.json file (not the folder) says "No valid rules have been specified for TypeScript files" and effectively skips tslint.

Is there a way I can actually use both options?

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.