stylelint / eslint-config-stylelint

Stylelint org's shareable config for eslint
MIT License
60 stars 9 forks source link

For any enum its throwing a no-shadow rule error #223

Closed R35007 closed 1 year ago

R35007 commented 1 year ago

What steps are needed to reproduce the bug?

Just add the stylelint to eslint extends.

Have a enum in tsx or ts file.

What did you expect to happen?

It should not throw no-shadow erorr for enums.

What actually happened?

Throwing the following error: 'xxx' is already declared in the upper scope on line 7 column 6. eslint(no-shadow)

ybiquitous commented 1 year ago

@R35007 Thanks for the report. To investigate it, can you please provide a minimal reproduction, e.g., a repository including ESLint config and package.json?

jeddy3 commented 1 year ago

Closing as stale. Feel free to reopen with a reproducible example.