intel / intel/dml-language-server

Fix inconsistency when evaluating style-rules for comments

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
bug Low Priority
Dominant language
Rust
Stars
9
Forks
9
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.