github-desktop/tslint.json
Markus Olsson f18ced86a4 Add back react-this-binding-issue
No substitute for this in eslint that I can find
2020-07-02 16:11:23 +02:00

18 lines
508 B
JSON

{
"extends": ["tslint-config-prettier"],
"rulesDirectory": ["tslint-rules/", "node_modules/tslint-microsoft-contrib/"],
"rules": {
"promise-must-complete": true,
"react-no-unbound-dispatcher-props": true,
"react-proper-lifecycle-methods": true,
"react-readonly-props-and-state": true,
"react-unused-props-and-state": [
true,
{
"props-interface-regex": "Props$",
"state-interface-regex": "State$"
}
],
"react-this-binding-issue": true
}
}