Personal TSLint configuration


100.6.53 years ago4 years agoMinified + gzip package size for @jupl/tslint-config in KB


** 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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.