Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wraps a TypeScript compiler checks

License

NotificationsYou must be signed in to change notification settings

unlight/eslint-plugin-tsc

Repository files navigation

Wraps a TypeScript compiler checks

INSTALL

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

USAGE

Configure it inyour configuration file:

  1. Add toplugins section:
tsc
  1. Add rule torules 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 totsconfig.json file (it's better to specify an absolute path)
    compilerOptions ability to override compilerOptions defined in config file

CHANGELOG

SeeCHANGELOG.md

TODO

TypeScript Compiler has variouslinting options

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

USEFUL LINKS

About

Wraps a TypeScript compiler checks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp