lasselupe33 / eslint-plugin-comment-length

MIT License
13 stars 3 forks source link

Broken when run limit-single-line-comments with ignoreCommentsWithCode: true #12

Open yf-yang opened 2 weeks ago

yf-yang commented 2 weeks ago

Related: https://github.com/eslint/eslint/issues/16878

https://github.com/lasselupe33/eslint-plugin-comment-length/blob/1a381d6159f4b970e1091c7be04dde8cbcd1a3ff/rules/src/rules/limit-single-line-comments/root.ts#L82

ruleContext.parserPath is no longer supported in v9, so this option breaks eslint execution.

lasselupe33 commented 1 week ago

Thanks for the report, @yf-yang

I'll take a look at this soon, but as mentioned in #10, it will likely be a couple of weeks before I get a chance to fix this. I'll keep you posted.