intel/dml-language-server

Fix inconsistency when evaluating style-rules for comments

Opened this issue · 0 comments

The current implementation of some style rules does not apply to comments, while a few others do (namely long_lines and any rules applied in a line per line basis). This is due to most rules being applied to the AST which ignores comments, as comments don't provide any syntactic information.

A more consistent approach would be nice for corresponding style rules to apply in comments.