@altibox/tslint-config
v1.0.0-beta.4
Published
TSlint rules for altibox
Downloads
5
Keywords
Readme
TSLint Config Altibox
Installation
npm install @altibox/tslint-config --save-dev
Usage
In tslint.json
add:
{
"extends": "@altibox/tslint-config"
}
In package.json
set the environment variable CI=true
in your build script:
"scripts": {
- "build": "react-scripts-ts build"
+ "build": "CI=true react-scripts-ts build"
}
In tsconfig.json
set the compiler option "noUnusedLocals"
to false:
"compilerOptions": {
- "noUnusedLocals": true
+ "noUnusedLocals": false
}