Skip to content

Comments

41 rules layout#44

Merged
ghedwards merged 3 commits intocfmleditor:masterfrom
cybersonic:41-rules-layout
Jun 20, 2025
Merged

41 rules layout#44
ghedwards merged 3 commits intocfmleditor:masterfrom
cybersonic:41-rules-layout

Conversation

@cybersonic
Copy link

Removing the old rules.md file that had a long unreadable list with the table version. Updating the links

@cybersonic cybersonic requested review from Copilot and ghedwards June 12, 2025 13:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR cleans up the rules documentation, updates test fixtures, and bumps the local Java SDK version.

  • Updates test resources for query naming (timestamp and tag closure)
  • Removes the old RULES_TABLE.md and updates README to point at RULES.md
  • Bumps Java version in .sdkmanrc from 11 to 17

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/test/resources/com/cflint/tests/VariableNameChecker/query_naming_blank_601.expected.txt Updated the expected timestamp value
src/test/resources/com/cflint/tests/VariableNameChecker/query_naming_blank_601.cfc Added a closing </cfquery> tag in the test fixture
RULES_TABLE.md Deleted old rules table file
README.md Changed link from RULES_TABLE.md to RULES.md
.sdkmanrc Bumped Java SDK version from 11.0.26-zulu to 17.0.12-oracle
Comments suppressed due to low confidence (2)

.sdkmanrc:3

  • [nitpick] Upgrading to Java 17 may require CI/build updates. Verify project compatibility and document the new Java requirement in your README or CI configuration.
java=17.0.12-oracle

README.md:104

  • After removing RULES_TABLE.md, run a repo-wide search for any lingering references to it (in docs or code comments) to avoid broken links.
See [RULES.md](/RULES.md) for more information on rules and their meaning.

}
{
"version" : "",
"timestamp" : 1749043134,
Copy link

Copilot AI Jun 12, 2025

Choose a reason for hiding this comment

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

Comparing against a dynamic timestamp makes this test brittle. Consider mocking or parameterizing the timestamp, or assert on its format rather than its exact value.

Suggested change
"timestamp" : 1749043134,
"timestamp" : "mocked-timestamp",

Copilot uses AI. Check for mistakes.
.sdkmanrc Outdated
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=11.0.26-zulu
java=17.0.12-oracle
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any particular reason for this java version? I think java 11 is still fairly prevalent

@cybersonic
Copy link
Author

cybersonic commented Jun 12, 2025 via email

Reverting it back to Java 11
buildscript {
repositories {
mavenLocal()
jcenter {
Copy link
Author

Choose a reason for hiding this comment

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

Removed this as there are errors and I hear it's gone :) see: https://blog.gradle.org/jcenter-shutdown

@ghedwards ghedwards merged commit ee216f4 into cfmleditor:master Jun 20, 2025
0 of 3 checks passed
@cybersonic
Copy link
Author

Thank you @garethedwards-tass !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants