mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
f18ced86a4
No substitute for this in eslint that I can find
18 lines
508 B
JSON
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
|
|
}
|
|
}
|