A collection of TSLint rules used on SitePen projects
These are the standard linting rules we use on TypeScript projects
These rules are used when writing Dojo 1 projects in TypeScript
TSLint has a great reference for creating Sharable Configuration and Rules
Here's a quick start:
npm install tslint tslint-sitepen --save-dev
create a tslint.json
file that extends from tslint-sitepen
and add your own rules
{
"extends": "tslint-sitepen",
"rules": {
"no-addition": true
}
}