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

Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.3, eslint-plugin-html from 6.2.0 to 8.1.1, eslint-config-prettier from 8.5.0 to 9.1.0, eslint-plugin-prettier from 4.2.1 to 5.1.3, eslint-plugin-ava from 13.2.0 to 14.0.0, and prettier from 2.7.1 to 3.2.5 #2961

Merged
merged 8 commits into from
May 1, 2024

Conversation

evmiguel
Copy link
Contributor

@evmiguel evmiguel commented Mar 14, 2024

Supersedes #2943, #2995, #3009, #2891, #2596 and #2929


WAI Preview Link (Last built on Wed, 01 May 2024 14:32:06 GMT).

… 48.2.0, eslint-plugin-html from 6.2.0 to 8.0.0, and eslint-config-prettier from 8.5.0 to 9.1.0
@evmiguel evmiguel requested a review from howard-e March 14, 2024 21:15
@evmiguel evmiguel added Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation dependencies Pull requests that update a dependency file in a third-party package labels Mar 14, 2024
@evmiguel
Copy link
Contributor Author

evmiguel commented Mar 14, 2024

Please hold off on reviewing this as prettier must also be updated as well.

Prettier has been updated.

@evmiguel evmiguel changed the title Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.0, eslint-plugin-html from 6.2.0 to 8.0.0, and eslint-config-prettier from 8.5.0 to 9.1.0 Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.0, eslint-plugin-html from 6.2.0 to 8.0.0, eslint-config-prettier from 8.5.0 to 9.1.0, and prettier from 2.7.1 to 3.2.5 Mar 14, 2024
@evmiguel evmiguel changed the title Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.0, eslint-plugin-html from 6.2.0 to 8.0.0, eslint-config-prettier from 8.5.0 to 9.1.0, and prettier from 2.7.1 to 3.2.5 Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.0, eslint-plugin-html from 6.2.0 to 8.0.0, eslint-config-prettier from 8.5.0 to 9.1.0, eslint-plugin-ava from 13.2.0 to 14.0.0, and prettier from 2.7.1 to 3.2.5 Mar 18, 2024
@howard-e
Copy link
Contributor

Looks like the link checker issue here should be resolved by #2965

Copy link
Contributor

@howard-e howard-e 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! Thanks for grouping these like-changes together.

Since this makes many changes related to the current formatting, I spent some time looking through the new rules to see where we'd want to preserve the current behavior. I've identified 2 as inline comments. Those 2, not only because they contribute to a significant amount of changes here, which in turns gives an updated file date which isn't substantial - but also because there isn't a clear benefit of enforcing those new formatting changes (to me).

@@ -24,7 +24,6 @@ function init() {

/**
* Activates the action button with the enter key.
*
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we sould preserve the current way these JSDoc lines are handled by explicitly setting a jsdoc/tag-lines rule.

Setting "jsdoc/tag-lines": ["warn", "any", { "startLines":1 }] in .eslintrc.json rules should be what we want.

Comment on lines 92 to 97
* <exampleFile>: {
* existingTestIds: <array of discovered data-test-ids>
* missingTests: <copy of array of discovered data-test-ids>
* missingAttrs: <rows in attribute table missing data-test-ids>
* missingKeys: <rows in keyboard support table missing data-test-ids>
* }
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want to allow contributors to preserve their own formatting in JSDoc for instances like this, so readability could be clearer. So disabling jsdoc/check-line-alignment should be fine.

@howard-e howard-e changed the title Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.0, eslint-plugin-html from 6.2.0 to 8.0.0, eslint-config-prettier from 8.5.0 to 9.1.0, eslint-plugin-ava from 13.2.0 to 14.0.0, and prettier from 2.7.1 to 3.2.5 Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.3, eslint-plugin-html from 6.2.0 to 8.1.1, eslint-config-prettier from 8.5.0 to 9.1.0, eslint-plugin-prettier from 4.2.1 to 5.1.3, eslint-plugin-ava from 13.2.0 to 14.0.0, and prettier from 2.7.1 to 3.2.5 May 1, 2024
@howard-e howard-e merged commit dd83456 into main May 1, 2024
25 checks passed
@howard-e howard-e deleted the upgrade-eslint branch May 1, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file in a third-party package Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants