eslint-plugin-tsc

v2.0.0
Wraps a TypeScript compiler checks
eslint eslint-plugin eslintplugin eslint-rules typescript typescript-service

test

npm run eslint && npm run tscheck && npm run test:r

test:r

mocha -r ts-node/register/transpile-only --no-timeouts src/**/*.spec.ts

test:w

mocha -r ts-node/register/transpile-only --watch-files src/**/*.ts --watch src/**/*.spec.ts

test:d

node --inspect-brk -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha --no-timeouts --watch-files src/**/*.ts --watch src/**/*.spec.ts

tscheck

echo tscheck... && tsc --noEmit

tscheck:w

npm run tscheck -- --watch

tsclint

tsc --noEmit --pretty false --strictNullChecks --forceConsistentCasingInFileNames --noImplicitReturns --noImplicitThis --noUnusedLocals --noUnusedParameters

tsclint:w

npm run tsclint -- --watch

eslint

node node_modules/eslint/bin/eslint "src/**/*.{ts,tsx}"

eslint:w

watchexec -w src "npm run eslint"

eslint:fix

npm run eslint -- --fix

build

sh Taskfile build

prettier:format

npx prettier src --write
npm i eslint-plugin-tsc

Metadata

  • MIT
  • >=12
  • Unknown
  • released 9/15/2020

Downloads

Maintainers