Install
Description
This is the base rules for tslint that we can share between projects and then override if we need to on a project basis.
Install from npm
npm install @ephox/tslint-rules
.
Example of a local project tslint.json
{
"defaultSeverity": "error",
"extends": ["@ephox/tslint-rules/tslint.json"],
"jsRules": {},
"rules": {
"prefer-for-of": false,
"no-shadowed-variable": false,
"one-variable-per-declaration": false,
"max-line-length": false,
"no-empty": false,
"no-conditional-assignment": false,
"variable-name": false,
"no-bitwise": false,
"forin": false
},
"rulesDirectory": []
}