@jupl/tslint-config
v0.6.5
Published
Personal TSLint configuration
Downloads
4
Readme
- tslint-config [[https://www.npmjs.org/package/@jupl/tslint-config][file:https://img.shields.io/npm/v/@jupl/tslint-config.svg?style=flat-square]] [[https://travis-ci.org/jupl/tslint-config][file:https://img.shields.io/travis/jupl/tslint-config.svg?label=travis&style=flat-square]] [[https://david-dm.org/jupl/tslint-config][file:https://img.shields.io/david/jupl/tslint-config.svg?style=flat-square]] [[https://david-dm.org/jupl/tslint-config?type=peer][file:https://img.shields.io/david/peer/jupl/tslint-config.svg?style=flat-square]] [[https://david-dm.org/jupl/tslint-config?type=dev][file:https://img.shields.io/david/dev/jupl/tslint-config.svg?style=flat-square]]
** About Personal [[https://palantir.github.io/tslint/][TSLint]] [[http://eslint.org/docs/developer-guide/shareable-configs.html][configuration]].
** Installation #+BEGIN_EXAMPLE npm install @jupl/tslint-config tslint #+END_EXAMPLE
** Usage Add to =tsconfig.json=: #+BEGIN_SRC json { "compilerOptions": { ... "strict": true, "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, "noUnusedLocals": true, "noUnusedParameters": true } } #+END_SRC
Add to =tslint.json=: #+BEGIN_SRC json { "extends": "@jupl/tslint-config" } #+END_SRC
If using JSX: #+BEGIN_SRC json { "extends": [ "@jupl/tslint-config", "@jupl/tslint-config/jsx" ] } #+END_SRC