THIS REPOSITORY HAS BEEN MERGED INTO FACE CONFIG
You can find the latest version in our face-config
monorepo, where it will continue to be developed
This repository contains Dollar Shave Club Tslint rules.
This project is beta. It will be published soon.
$ npm install --save-dev tslint-config-dollarshaveclub
Once the tslint-config-dollarshaveclub
package is installed, used by specifying dollarshaveclub
.
- This project will soon support React ts linting.
For frameworkless JavaScript modules:
// tslint.json
{
"extends": [
"tslint-config-dollarshaveclub"
],
"rules": {
"no-unnecessary-type-assertion": false,
"trailing-comma": false,
"semicolon": [
true,
"never"
]
}
}
For React projects:
// tslint.json
{
"extends": "tslint-config-dollarshaveclub/react"
}
- globby: used for testing all test files in
tests/
. - mocha: used for testing.
- tslint: used for linting typescript (
.ts
) files. - tslint-config-standard: extends
tslint
. - tslint-react: extends
tslint
forreact
. - typescript: add type checking for JavaScript.
MIT