Closed Hitesh-Kandpal closed 1 month ago
The change updates the ESLint configuration for Angular projects by disabling the class-methods-use-this
rule, allowing class methods to be defined without necessarily using this
.
File Path | Change Summary |
---|---|
.../angular.md |
Added "class-methods-use-this": "off" to ESLint configuration |
class-methods-use-this
rule for Angular, which is exactly what this PR achieves.🐰✨📜 In the land of code where the brackets embrace, A tiny rabbit tweaked the ESLint base. No more
this
in every class method's face, Angular devs rejoice, with newfound grace! Hop, skip, deploy, in the digital space! 🚀 🐰✨📜
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
As per this discussion -> https://github.com/OsmosysSoftware/dev-standards/issues/61
we need to disable 'class-methods-use-this' in our angular coding standard, so disabled it
Summary by CodeRabbit