- Notifications
You must be signed in to change notification settings - Fork1
Wraps a TypeScript compiler checks
License
NotificationsYou must be signed in to change notification settings
unlight/eslint-plugin-tsc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Wraps a TypeScript compiler checks
npm install --save-dev eslint-plugin-tsc
Configure it inyour configuration file:
- Add to
plugins
section:
tsc
- Add rule to
rules
section, e.g.
"tsc/config": [1, { configFile: "tsconfig.json"}]
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
SeeCHANGELOG.md
TypeScript Compiler has variouslinting options
- allowUnreachableCode
- allowUnusedLabels
- forceConsistentCasingInFileNames
- noFallthroughCasesInSwitch
- noImplicitAny
- noImplicitReturns
- noImplicitThis
- noStrictGenericChecks
- noUnusedLocals
- noUnusedParameters
- strictFunctionTypes
- strictPropertyInitialization
- strictNullChecks
- suppressExcessPropertyErrors
- suppressImplicitAnyIndexErrors
About
Wraps a TypeScript compiler checks
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.