Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lint: bevy::main_return_without_appexit #84

Merged
merged 24 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0f36cd7
chore: add `bevy` as a dev-dependency for testing purposes
BD103 Sep 14, 2024
c346eb5
feat: create lints module
BD103 Sep 14, 2024
d9df05a
feat: export and register lints
BD103 Sep 14, 2024
60cf179
feat: make modules public, don't re-export lints, and only support 1 …
BD103 Sep 14, 2024
a4241ed
feat: begin first lint
BD103 Sep 16, 2024
5980182
feat: scan expressions for `App::run()`
BD103 Sep 16, 2024
fee5721
feat: finish mvp of `main_return_without_appexit`
BD103 Sep 17, 2024
8166785
refactor: replace `define_lints!` macro with hardcoded values
BD103 Sep 17, 2024
d3c9365
refactor: move pass registration to `lints/mod.rs`
BD103 Sep 17, 2024
da5c4b9
refactor: replace manual lint and pass definitions with macro
BD103 Sep 17, 2024
7097fb9
feat: add module documentation
BD103 Sep 17, 2024
3cf0422
fix: edge case where `fn main() -> ()`
BD103 Sep 17, 2024
b38c302
chore: make `register_passes` `pub(crate)`
BD103 Sep 17, 2024
f862506
feat: begin add suggestions
BD103 Sep 17, 2024
0114630
Revert "feat: begin add suggestions"
BD103 Sep 17, 2024
82d4e14
feat: better diagnostics
BD103 Sep 17, 2024
e269046
refactor: create paths module
BD103 Sep 17, 2024
200ef87
Merge branch 'main' into main-return-without-appexit
BD103 Sep 17, 2024
996b7dc
fix: peel source references
BD103 Sep 18, 2024
9657683
refactor: use `Ty::peel_refs()` instead of `peel_middle_ty_refs()`
BD103 Sep 18, 2024
1baa1a3
chore: make `paths` module private
BD103 Sep 18, 2024
8fafa0b
refactor: use `matches!()` macro
BD103 Sep 18, 2024
9f1f123
Merge branch 'main' into main-return-without-appexit
BD103 Sep 18, 2024
97ea8f1
fix: leftover brace
BD103 Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading