timothykang / tslintify Goto Github PK
View Code? Open in Web Editor NEWBrowserify plugin for linting TypeScript.
Home Page: https://www.npmjs.com/package/tslintify
Browserify plugin for linting TypeScript.
Home Page: https://www.npmjs.com/package/tslintify
Hey, Can you add support for TSLint 6.0.0?
I see this error in the console.
[email protected]" has incorrect peer dependency "tslint@^4.0.0"
TSLint 5.0.0 changed the return object from linter.getResult()
: 'failureCountwas split into
errorCountand
warningCount` (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).
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?
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.