Skip to content

TypeScript configuration files for tsconfig, tslint, & prettier

License

Notifications You must be signed in to change notification settings

XappMedia/config

Repository files navigation

config

Installation

npm install --save-dev @xapp/config

Usage

tsconfig.json

{
    "extends": "./node_modules/@xapp/config/tsconfig.json",
    "include": [
        "./src/**/*",
        "./typings/**/*.d.ts",
        "./test/**/*"
    ],
    "exclude": [
        "node_modules"
    ]
}

tslint.json

{
    "extends": [
        "@xapp/config/tslint"
    ],
    "rules": {}
}

To override a rule locally, simply negate the rule in your config. For example to override "member-access":

{
    "extends": [
        "@xapp/config/tslint"
    ],
    "rules": {
    "member-access": true
    }
}

prettier.config.js

module.exports = require("@xapp/config/prettier.config");

About

TypeScript configuration files for tsconfig, tslint, & prettier

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published