-
Notifications
You must be signed in to change notification settings - Fork 894
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
Change how we retrieve rule descriptions when generating the inclusive language database #21779
Change how we retrieve rule descriptions when generating the inclusive language database #21779
Conversation
Pull Request Test Coverage Report for Build a3361a40d4b6a61bf823df4f5c25941691440c50Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@@ -89,27 +79,12 @@ describe( "Export of the inclusive language configuration", () => { | |||
resultLines.unshift( header.join( ";" ) ); | |||
|
|||
// Set doExport to true to write the results to a temporary file. | |||
const doExport = false; | |||
const doExport = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this value be set back to false before merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks!
Just to confirm, even though it creates the |
AT 👍 It works like a charm |
@@ -36,7 +36,7 @@ export default class InclusiveLanguageAssessment { | |||
* @returns {void} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also good to add the description of these parameters:
* @param {string} [config.ruleDescription] A description of the rule.
* @param {string} [config.category] The category of the assessment.
Thanks, I've implemented both your suggestions! About the error, I think I've always had it when I run the command, so it is not a problem. I added to the documentation that this error is expected. |
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
seniors
,I'm so OCD
,alcoholics
,normal person
.high school seniors
,I have OCD
,alcoholics anonymous
.Relevant test scenarios
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo]
, added test instructions for Shopify and attached theShopify
label to this PR.Documentation
Quality assurance
Innovation
innovation
label.Fixes Improve script for generating inclusive language database so that all rules are outputted