Add @stylistic/eslint-plugin and enforce formatting rules - #104
Add @stylistic/eslint-plugin and enforce formatting rules#104heavyrubberslave wants to merge 15 commits into
Conversation
|
Important Review skippedToo many files! This PR contains 192 files, which is 92 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (192)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
4542f8f to
52d45aa
Compare
- Add @stylistic/eslint-plugin dependency and stylistic.configs.recommended - Configure indent (4 spaces), semi (always), comma-dangle (always-multiline) - Configure member-delimiter-style (semi for multiline, comma for singleline) - Configure operator-linebreak (before, with = kept after for multiline type declarations) - Configure indent-binary-ops (4 spaces, matching general indent) - Configure arrow-parens (as-needed, no exception for block bodies) - Require blank line between type/interface/class/enum declarations and a following export statement - Disable brace-style (mixed Allman/1tbs convention not configurable via a single rule)
waitForNextWsEvent(deviceRefreshed) had no predicate, so it could resolve on the device's own 175ms auto-refresh tick instead of the refresh actually caused by the channelALevel update, letting the assertion run before 'A80' was written to the device.
778a488 to
a8a3c56
Compare
…l, no-unused-expressions)
|
Close in favor of #108 |
Summary
@stylistic/eslint-pluginand enablesstylistic.configs.recommendedmember-delimiter-style(semi for multiline type members, comma for single-line)operator-linebreak(before, with=kept after for multiline type declarations)indent-binary-ops(4 spaces, matching general indent)arrow-parens(as-needed, no exception for block bodies)type/interface/class/enumdeclarations and a followingexportstatementbrace-style(codebase mixes Allman for class/constructor declarations and 1tbs for control-flow, not expressible via this rule's single-style options)