ts-lint

v4.5.1
An extensible static analysis linter for the TypeScript language
cli typescript linter

clean

npm-run-all -p clean:core clean:test

clean:core

rimraf lib

clean:test

rimraf build && rimraf test/config/node_modules

docs

node scripts/buildDocs.js

compile

npm-run-all -p compile:core compile:test -s compile:scripts

compile:core

tsc -p src

compile:scripts

tsc -p scripts

compile:test

tsc -p test

lint

npm-run-all -p lint:core lint:test lint:from-bin

lint:core

tslint "src/**/*.ts"

lint:test

tslint "test/**/*.ts" -e "test/**/*.test.ts"

lint:from-bin

node bin/tslint "{src,test}/**/*.ts" -e "test/**/*.test.ts"

test

npm-run-all test:pre -p test:mocha test:rules

test:pre

cd ./test/config && npm install

test:mocha

mocha --reporter spec --colors "build/test/**/*Tests.js" build/test/assert.js

test:rules

node ./build/test/ruleTestRunner.js

verify

npm-run-all clean compile lint test docs
npm i ts-lint

Metadata

Downloads

Maintainers