Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

tscommons

GitHub tag (latest SemVer)

Available configs:

  • tsconfig.json
  • tslint.json
  • jest.config.js
  • prettier.config.js

Usage:

tsconfig.json

{
  "extends": "./node_modules/@kube-js/tscommons/configs/tsconfig.json",
  // your overrides
}

tslint.json

{
  "extends": [
    "./node_modules/@kube-js/tscommons/configs/tslint.json",
    "tslint-config-prettier"
  ],
  "rules": {
    // your overrides
  }
}

jest.config.js

const baseConfig = require("@kube-js/tscommons/configs/jest.config.js");

module.exports = {
  ...baseConfig
  // your overrides
};

prettier.config.js

const baseConfig = require("@kube-js/tscommons/configs/prettier.config.js");

module.exports = {
  ...baseConfig
  // your overrides
};

Also if you are using tslint install tslint-config-prettier

npm install --save-dev tslint-config-prettier

Then in tslint.json add:

{
  "extends": [
    "./node_modules/@kube-js/tscommons/configs/tslint.json",
    "tslint-config-prettier"
  ],
  "rules": {
    // your overrides
  }
}

Credits: ryansmith94

About

All essentials for any typescript app

Resources

License

Packages

No packages published