Closed Xavier-Redondo closed 1 year ago
Current rule in .eslintrc
"class-methods-use-this": "warn"
should be changed to:
"class-methods-use-this": ["error", { "enforceForClassFields": false }]
This way we remove a warning and we ensure that no class methods use this incorrectly. Further details here.
Hey @Xavier-Redondo, can I work on this or has it been resolved?
@Keith-Web3 go ahead! PR are welcome! Thank you
Current rule in .eslintrc
"class-methods-use-this": "warn"
should be changed to:
"class-methods-use-this": ["error", { "enforceForClassFields": false }]
This way we remove a warning and we ensure that no class methods use this incorrectly. Further details here.