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

[Merged by Bors] - Restructure lint lists in boa_engine #2455

Closed
wants to merge 4 commits into from

Conversation

raskad
Copy link
Member

@raskad raskad commented Nov 22, 2022

This Pull Request restructures the lint deny/warn/allow lists in boa_engine. It adds a lot of documentation to pup functions. There are still a few clippy lints that are not fixed, mainly regarding casting of number types. Fixing those lints effectiveley would in some cases probably require bigger refactors.

This should probably wait for #2449 to be merged, because that PR already fixes that lints regarding the Date built-in.

@raskad raskad added the Internal Category for changelog label Nov 22, 2022
@raskad raskad added this to the v0.17.0 milestone Nov 22, 2022
@github-actions
Copy link

github-actions bot commented Nov 22, 2022

Test262 conformance changes

Test result main count PR count difference
Total 93,831 93,831 0
Passed 69,636 69,636 0
Ignored 18,472 18,472 0
Failed 5,723 5,723 0
Panics 0 0 0
Conformance 74.21% 74.21% 0.00%

@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #2455 (b7a1ecf) into main (a2964e6) will increase coverage by 0.15%.
The diff coverage is 60.28%.

@@            Coverage Diff             @@
##             main    #2455      +/-   ##
==========================================
+ Coverage   51.49%   51.65%   +0.15%     
==========================================
  Files         336      337       +1     
  Lines       35524    35421     -103     
==========================================
+ Hits        18293    18295       +2     
+ Misses      17231    17126     -105     
Impacted Files Coverage Δ
boa_engine/src/builtins/array/array_iterator.rs 80.76% <ø> (ø)
boa_engine/src/builtins/array_buffer/mod.rs 8.81% <0.00%> (ø)
boa_engine/src/builtins/async_function/mod.rs 92.10% <ø> (ø)
boa_engine/src/builtins/async_generator/mod.rs 8.08% <ø> (ø)
...ngine/src/builtins/async_generator_function/mod.rs 94.23% <ø> (ø)
boa_engine/src/builtins/dataview/mod.rs 8.52% <ø> (ø)
boa_engine/src/builtins/date/mod.rs 90.66% <0.00%> (ø)
boa_engine/src/builtins/error/mod.rs 87.75% <ø> (ø)
boa_engine/src/builtins/generator/mod.rs 15.00% <0.00%> (-0.17%) ⬇️
boa_engine/src/builtins/generator_function/mod.rs 93.61% <ø> (ø)
... and 87 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@Razican Razican left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Only halfway there with the review, and it looks promising :)

boa_engine/src/builtins/array/mod.rs Outdated Show resolved Hide resolved
boa_engine/src/builtins/date/mod.rs Show resolved Hide resolved
boa_engine/src/builtins/intl/mod.rs Outdated Show resolved Hide resolved
Copy link
Member

@HalidOdat HalidOdat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! :)

@raskad raskad force-pushed the restructure-lints-boa-engine branch from 06f30bb to 20837c6 Compare November 23, 2022 00:37
Copy link
Member

@Razican Razican left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a couple of suggestions, but I'm happy to merge it as-is :)

boa_engine/src/environments/runtime.rs Outdated Show resolved Hide resolved
boa_engine/src/object/property_map.rs Show resolved Hide resolved
boa_engine/src/value/operations.rs Outdated Show resolved Hide resolved
@raskad
Copy link
Member Author

raskad commented Nov 23, 2022

bors r+

bors bot pushed a commit that referenced this pull request Nov 23, 2022
This Pull Request restructures the lint deny/warn/allow lists in `boa_engine`. It adds a lot of documentation to pup functions. There are still a few clippy lints that are not fixed, mainly regarding casting of number types. Fixing those lints effectiveley would in some cases probably require bigger refactors.

This should probably wait for #2449 to be merged, because that PR already fixes that lints regarding the `Date` built-in.
@bors
Copy link

bors bot commented Nov 23, 2022

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Restructure lint lists in boa_engine [Merged by Bors] - Restructure lint lists in boa_engine Nov 23, 2022
@bors bors bot closed this Nov 23, 2022
@bors bors bot deleted the restructure-lints-boa-engine branch November 23, 2022 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Category for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants