Add new spacing rules pending from DML style guide#108
Add new spacing rules pending from DML style guide#108JonatanWaern merged 13 commits intointel:mainfrom
Conversation
e2b4518 to
4cc5936
Compare
2af6f35 to
76b5474
Compare
|
There seems to be a problem with the #[serde(default)] attribute we use for LintCfg and its fields. We should make this clear to avoid this type of silent issues. |
f90a029 to
8b336dd
Compare
This is now handled by #130 and should be merged soon to resolve this problem |
8b18048 to
06c848a
Compare
|
@JonatanWaern I think it functionality here is complete. Please do a review round for feedback. |
JonatanWaern
left a comment
There was a problem hiding this comment.
Nice work! needs a few changes (see also clippy part of build) and a changelog entry
I think all suggestions are addressed now. |
JonatanWaern
left a comment
There was a problem hiding this comment.
Needs a rebase on main, which seems to have conflicts (likely due to my in-line lint annotation change, which also touches the tests on lint/mod.rs level.)
|
@alecalvop Are you looking to merge this soon? I was planning to make a release this week so we can likely squeeze it in before |
Use robust check for spacing tests
* Add pointer declaration spacing rules * Remove NspPtrDecl disable
* Add sp_binop.rs to spacing rule tests module for BinaryExpressionContent * Add sp_ternary rule for ? : conditionals for TertiaryExpressionContent
* Add SP Reserved spacing rule * Add support for `while` `for` and `else` * Add rule documentation * Add rule to example_lint_cfg.json --------- Co-authored-by: Vasquez Alfaro, Juan J <juan.j.vasquez.alfaro@intel.com>
a9d1b48 to
1db4874
Compare
@JonatanWaern Yes, I have addressed the comments |
JonatanWaern
left a comment
There was a problem hiding this comment.
Looks good, nice work!
Address pending rules tracked in issue #71