feat(analyze/js): added rule for @typescript-eslint/consistent-type-definitions#7053
feat(analyze/js): added rule for @typescript-eslint/consistent-type-definitions#7053arendjr merged 14 commits intobiomejs:mainfrom jakeleventhal:typescript-eslint-consistent-type-definitions
@typescript-eslint/consistent-type-definitions#7053Conversation
🦋 Changeset detectedLatest commit: 30f7b5c The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
dyc3
left a comment
There was a problem hiding this comment.
Just in case you missed it, there's a separate CONTRIBUTING doc specifically for the analyzer: https://github.com/biomejs/biome/blob/main/crates/biome_analyze/CONTRIBUTING.md
ematipico
left a comment
There was a problem hiding this comment.
You must run cargo test, review the snapshots and accept them. https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#testing
|
@dyc3 @ematipico @siketyan addressed all and rebased |
@typescript-eslint/consistent-type-definitions@typescript-eslint/consistent-type-definitions
dyc3
left a comment
There was a problem hiding this comment.
Please note the CI failures. It doesn't build.
CodSpeed Performance ReportMerging #7053 will not alter performanceComparing Summary
|
dyc3
left a comment
There was a problem hiding this comment.
You need to run just gen-all to get all the other things updated
Then accept the snapshots and commit them.
cargo test -p biome_js_analyze
cargo insta accept
…pt-eslint-consistent-type-definitions
ematipico
left a comment
There was a problem hiding this comment.
We should fix the docs of options, and we should add more tests. We should add tests of code with comments around the members and the curly brackets
Co-authored-by: Emanuele Stoppa <[email protected]>
…pt-eslint-consistent-type-definitions
This hasn't been addressed. Here's an example interface/**/ Foo /**/ {/**/
/**/lorem:/**/ boolean/**/
/**/}Essentially, we want to test that we don't lose trivia when doing the action. If you want, we can address this in another. Just let us know |
|
@ematipico I see what you mean. In any case, addressed |
Summary
Implements https://typescript-eslint.io/rules/consistent-type-definitions/
This resolves #7036
Test Plan
Unit tests
Docs