Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no-commented-out-code] Property declaration not detected #70

Open
lhoosconciso opened this issue May 22, 2024 · 0 comments
Open

[no-commented-out-code] Property declaration not detected #70

lhoosconciso opened this issue May 22, 2024 · 0 comments

Comments

@lhoosconciso
Copy link

lhoosconciso commented May 22, 2024

The rule no-commented-out-code doesn't detect this comment:

export type MyType = {
  a: string;
  //  b: string;
  c: string;
};

This looks like kind of the opposite of #48, which I was not able to reproduce. That issue is still open, but has anything been done about it? After all, a todo comment kinda looks like a property declaration, so I can see how a fix for that could be the cause for this issue.

@lhoosconciso lhoosconciso changed the title [no-commented-out-code] [no-commented-out-code] Property declaration not detected May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant