-
Notifications
You must be signed in to change notification settings - Fork 157
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
Decyjphr/pr 683 #721
Decyjphr/pr 683 #721
Conversation
Linting failed in deploymentConfig.js due to the static fields. Eslint supports this from ecmaVersion 13.
The full test suite failed because it tried to lint the tests, while the running linter did not do the same. Enabling linting gave errors due to jest having undef stuff, but overriding these files for jest env keeps the linting without these errors.
Removed to stop having eslint errors.
Updated with `npx standard --fix`. Skipping environments.js and environments.test.js as they had a lot of errors, handling those in a separate commit.
Updated with `npx standard --fix`.
This was done manually as no autofix was available.
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.
Copilot reviewed 10 out of 15 changed files in this pull request and generated no comments.
Files not reviewed (5)
- .eslintrc.json: Language not supported
- test/unit/lib/plugins/environments.test.js: Evaluated as low risk
- test/unit/lib/plugins/labels.test.js: Evaluated as low risk
- test/unit/lib/env.test.js: Evaluated as low risk
- test/unit/index.test.js: Evaluated as low risk
Comments suppressed due to low confidence (2)
lib/plugins/environments.js:86
- The variable name existing_custom_branch_policies should be renamed to existingCustomBranchPolicies for consistency.
let existing_custom_branch_policies = existing.deployment_branch_policy === null ? null : existing.deployment_branch_policy.custom_branch_policies
lib/plugins/environments.js:90
- The variable name attrs_custom_branch_policies should be renamed to attrsCustomBranchPolicies for consistency.
let attrs_custom_branch_policies = attrs.deployment_branch_policy === null ? null : attrs.deployment_branch_policy.custom_branch_policies
Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more
Pull and test #683
enterprise
is not handled as org level rulesets