Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-tsc

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-tsc

Wraps a TypeScript compiler checks

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
decreased by-8.42%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-tsc

Wraps a TypeScript compiler checks

INSTALL

npm install --save-dev eslint-plugin-tsc

USAGE

Configure it in your configuration file:

  1. Add to plugins section:
tsc
  1. Add rule to rules section, e.g.
"tsc/config": [1, {
    configFile: "tsconfig.json"
}]

RULES

  • tsc/config Wraps a TypeScript compiler checks
    Configuration { configFile: string, compilerOptions?: ts.CompilerOptions }
    configFile path to tsconfig.json file (it's better to specify an absolute path)
    compilerOptions ability to override compilerOptions defined in config file

CHANGELOG

See CHANGELOG.md

TODO

TypeScript Compiler has various linting options

  • allowUnreachableCode
  • allowUnusedLabels
  • forceConsistentCasingInFileNames
  • noFallthroughCasesInSwitch
  • noImplicitAny
  • noImplicitReturns
  • noImplicitThis
  • noStrictGenericChecks
  • noUnusedLocals
  • noUnusedParameters
  • strictFunctionTypes
  • strictPropertyInitialization
  • strictNullChecks
  • suppressExcessPropertyErrors
  • suppressImplicitAnyIndexErrors

Keywords

FAQs

Package last updated on 15 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc