UNPKG

@xapp/config

Version:

Shared configuration parameters for TypeScript development

55 lines (44 loc) 756 B
# config ## Installation ```sh npm install --save-dev @xapp/config ``` ## Usage ### tsconfig.json ```json { "extends": "./node_modules/@xapp/config/tsconfig.json", "include": [ "./src/**/*", "./typings/**/*.d.ts", "./test/**/*" ], "exclude": [ "node_modules" ] } ``` ### tslint.json ```json { "extends": [ "@xapp/config/tslint" ], "rules": {} } ``` To override a rule locally, simply negate the rule in your config. For example to override "member-access": ```json { "extends": [ "@xapp/config/tslint" ], "rules": { "member-access": true } } ``` ### prettier.config.js ```javascript module.exports = require("@xapp/config/prettier.config"); ```