tslint-gandalf-rules
v0.0.10
Published
You shall not pass
Readme
tslint-rules
A set of custom TSLint rules.
Usage
Install from npm to your devDependencies:
npm install --save-dev tslint-gandalf-rulesConfigure tslint to use the custom-tslint-rules folder:
Add the following path to the rulesDirectory setting in your tslint.json file:
{
"extends": [
"tslint-gandalf-rules"
],
"rules": {
...
}
}Now configure some of the new rules.
Available Rules
arrow-function-class-prop
Rationale:
Usage:
...
"rules": {
"arrow-function-class-prop": true
}
...Options:
No options at the moment
no-function-as-input
Rationale:
Usage:
...
"rules": {
"no-function-as-input": true
}
...Options:
No options at the moment
Contributions and Development
Issue reports and pull requests are highly welcome! Please make sure to provide sensible tests along with your pull request.
To get started with development, clone the project and run yarn install.
To run the tests execute yarn test.

