2.0.1 • Published 2 years ago

typescript-custom-compiler-options v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Typescript strict mode plugin fork

Typescript plugin that allows to use custom tsconfig on text editor. This project is a fork of https://github.com/allegro/typescript-strict-plugin

How to install

Use npm:

npm i --save-dev typescript-custom-compiler-options

or yarn

yarn add -D typescript-custom-compiler-options

add plugin to your tsconfig.json:

{
 "compilerOptions": {
   ...
   "strict": false,
   "plugins": [
    {
     "name": "typescript-custom-compiler-options"
    }
   ]
 }
}

Configuration

{
  "compilerOptions": {
    ...
    "strict": false,
    "plugins": [
      {
        "name": "typescript-custom-compiler-options",
        "options": {
          "strict": true,
          "noImplicitAny": true,
          "strictNullChecks": true,
        }
      }
    ]
  }
}