@reallyland/tslint-config
TSLint config for The Really Project
!Versionversion-badgeversion-url !Node versionnode-version-badgenode-version-url !MIT Licensemit-license-badgemit-license-url
!Downloadsdownloads-badgedownloads-url !Total downloadstotal-downloads-badgedownloads-url !Packagephobiapackagephobia-badgepackagephobia-url !Bundlephobiabundlephobia-badgebundlephobia-url
!Dependency Statusdaviddm-badgedaviddm-url
!Code of Conductcoc-badgecoc-url
TSLint configtslint-config-url based on Airbnb JavaScript Style Guideairbnb-javascript-style-guide-url for The Really Project.
Table of contents
- tslint.json - Optional tslint.prod.jsonInstall
# Install via NPM as one of the `devDependencies`
$ npm install --save-dev @reallyland/tslint-config
Usage
tslint.json
{
"extends": [
"@reallyland/tslint-config"
],
}
Optional tslint.prod.json
{
"extends": [
"@reallyland/tslint-config"
],
"rules": {
// No `debugger` in production mode
"no-debugger": true
}
}