@altibox/tslint-config

TSlint rules for altibox

Usage no npm install needed!

<script type="module">
  import altiboxTslintConfig from 'https://cdn.skypack.dev/@altibox/tslint-config';
</script>

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
    }