@corex/tslint

3.0.611 • Public • Published

title: '@corex/tsconfig' custom_edit_url: 'https://github.com/iamvishnusankar/corex/edit/master/packages/tsconfig/README.md'

Installation

yarn add @corex/tsconfig -D

Usage

Create tsconfig.json and add the following content

{
  /** extend from @corex/tsconfig **/
  "extends": "./node_modules/@corex/tsconfig/tsconfig.json",
  "exclude": ["node_modules", "**/dist", "**/__tests__", "**/coverage"]
}

Override

Override the preset configuration by adding custom compilerOptions.

{
  /** extend from @corex/tsconfig **/
  "extends": "./node_modules/@corex/tsconfig/tsconfig.json",
  "compilerOptions": {
    /** Override Options **/
  },
  "exclude": ["node_modules", "**/dist", "**/__tests__", "**/coverage"]
}

Preset Config

Following is the included preset configuration.

{
  "$schema": "http://json.schemastore.org/tsconfig",
  "compileOnSave": true,
  "compilerOptions": {
    "tsBuildInfoFile": "./node_modules/.ts-buildcache/tsconfig.buildinfo",
    "incremental": true,
    "allowSyntheticDefaultImports": true,
    "target": "esnext",
    "module": "commonjs",
    "declaration": true,
    "sourceMap": false,
    "strict": true,
    "jsx": "react",
    "moduleResolution": "node",
    "skipLibCheck": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "noImplicitAny": false,
    "strictPropertyInitialization": false,
    "noUnusedLocals": true,
    "plugins": [
      {
        "name": "typescript-tslint-plugin"
      }
    ]
  },
  "exclude": ["node_modules", "dist/**", "__tests__/**"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @corex/tslint

Weekly Downloads

7

Version

3.0.611

License

MIT

Unpacked Size

2.87 kB

Total Files

4

Last publish

Collaborators

  • iamvishnusankar