0.8.0 • Published 6 years ago
eslint-config-yachtsman-typescript v0.8.0
eslint-config-yachtsman

An ESLint configuration to enforce Yachtsman Style TypeScript.
Installation
If you are using npm version 5 or greater, you can install with the command:
npx install-peerdeps --dev eslint-config-yachtsman-typescript
If you are using npm version 4 or less, you can install the install-peerdeps cli tool:
npm install -g install-peerdeps
install-peerdeps --dev eslint-config-yachtsman-typescript
Usage
To enable, add "yachtsman-typescript"
to the "extends"
property of your ESLint configuration. The following is an example of a .eslintrc.json
file:
{
"extends": "yachtsman-typescript"
}
Or, if specifying multiple shareable configs:
{
"extends": [
"yachtsman-typescript",
"my-shareable-config"
]
}