Skip to content

Commit

Permalink
Merge pull request #21 from gayaldassanayake/fix-code-ids
Browse files Browse the repository at this point in the history
Fix diagnostic code IDs
  • Loading branch information
MaryamZi authored Sep 9, 2024
2 parents a6091c8 + c1f384e commit 9c4821c
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,14 @@ public enum DiagnosticCode {
LOADING_REMOTE_PLATFORM_FILE("STATIC_ANALYSIS_ERROR_006", "loading.remote.platform.file"),
DOWNLOADING_REMOTE_JAR_FILE("STATIC_ANALYSIS_ERROR_007", "downloading.remote.jar.file"),
FAILED_TO_LOAD_COMPILER_PLUGIN("STATIC_ANALYSIS_ERROR_008", "loading.compiler.plugin"),
READING_RULES_FILE("STATIC_ANALYSIS_ERROR_010", "reading.rules.file"),
INVALID_JSON_FORMAT("STATIC_ANALYSIS_ERROR_011", "invalid.json.format"),
INVALID_JSON_FORMAT_RULE("STATIC_ANALYSIS_ERROR_012", "invalid.json.format.rule"),
INVALID_JSON_FORMAT_RULE_KIND("STATIC_ANALYSIS_ERROR_013", "invalid.json.format.rule.kind"),
FAILED_TO_READ_BALLERINA_FILE("STATIC_ANALYSIS_ERROR_014", "failed.to.read.ballerina.file"),
FAILED_TO_COPY_SCAN_REPORT("STATIC_ANALYSIS_ERROR_015", "failed.to.copy.scan.report"),
RULE_NOT_FOUND("STATIC_ANALYSIS_ERROR_016", "rule.not.found"),
ATTEMPT_TO_INCLUDE_AND_EXCLUDE("STATIC_ANALYSIS_ERROR_017",
"attempt.to.include.and.exclude"),
READING_RULES_FILE("STATIC_ANALYSIS_ERROR_009", "reading.rules.file"),
INVALID_JSON_FORMAT("STATIC_ANALYSIS_ERROR_010", "invalid.json.format"),
INVALID_JSON_FORMAT_RULE("STATIC_ANALYSIS_ERROR_011", "invalid.json.format.rule"),
INVALID_JSON_FORMAT_RULE_KIND("STATIC_ANALYSIS_ERROR_012", "invalid.json.format.rule.kind"),
FAILED_TO_READ_BALLERINA_FILE("STATIC_ANALYSIS_ERROR_013", "failed.to.read.ballerina.file"),
FAILED_TO_COPY_SCAN_REPORT("STATIC_ANALYSIS_ERROR_014", "failed.to.copy.scan.report"),
RULE_NOT_FOUND("STATIC_ANALYSIS_ERROR_015", "rule.not.found"),
ATTEMPT_TO_INCLUDE_AND_EXCLUDE("STATIC_ANALYSIS_ERROR_016", "attempt.to.include.and.exclude"),
REPORT_NOT_SUPPORTED("STATIC_ANALYSIS_WARNING_001", "report.not.supported"),
SCAN_REPORT_NOT_SUPPORTED("STATIC_ANALYSIS_WARNING_002", "scan.report.not.supported");

Expand Down

0 comments on commit 9c4821c

Please sign in to comment.