This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Add no-empty-function from ESLint #4345
floisloading
started this conversation in
Suggestions
Replies: 2 comments 1 reply
-
was just about to add this one! very useful. |
Beta Was this translation helpful? Give feedback.
0 replies
-
TypeScript ESLInt extends the rule. I am wondering: why ESLint separates no-empty-function from no-empty and no-empty-static-block? This could be a single rule. This could also integrate no-empty-interface. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Angular CLI generates components like this:
Most of the time (for view components), these two methods will stay empty. ESLint has a rule to prevent empty methods: https://eslint.org/docs/latest/rules/no-empty-function
Can this be implemented in Rome?
Beta Was this translation helpful? Give feedback.
All reactions