From b01f4830da0c7b6afd84ba1da08bdcfaf3b3dc59 Mon Sep 17 00:00:00 2001 From: Allen Gu Date: Wed, 16 Aug 2023 16:44:15 -0500 Subject: [PATCH] Fall 2023 style checker --- CHANGELOG.md | 6 +- gradle.properties | 2 +- .../style_config/cs61b_fa23_checks.xml | 250 ++++++++++++++++++ src/main/resources/style_config/index.txt | 3 +- 4 files changed, 257 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/style_config/cs61b_fa23_checks.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 4979f61..238b5ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ ## [Unreleased] -## [2.0.12] +## [2.0.13] + ### Changed -- Update compatability settings to 213+ + +- Fall 2023 style checker diff --git a/gradle.properties b/gradle.properties index 1b17560..3599cde 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ pluginGroup = edu.berkeley.cs61b.plugin pluginName = CS 61B # SemVer format -> https://semver.org -pluginVersion = 2.0.12 +pluginVersion = 2.0.13 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 213 diff --git a/src/main/resources/style_config/cs61b_fa23_checks.xml b/src/main/resources/style_config/cs61b_fa23_checks.xml new file mode 100644 index 0000000..51a2a5d --- /dev/null +++ b/src/main/resources/style_config/cs61b_fa23_checks.xml @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/style_config/index.txt b/src/main/resources/style_config/index.txt index 3ca9417..fab01be 100644 --- a/src/main/resources/style_config/index.txt +++ b/src/main/resources/style_config/index.txt @@ -14,6 +14,7 @@ fa21 cs61b_sp20_checks.xml cs61b_sp20_suppressions.xml sp22 cs61b_sp20_checks.xml cs61b_sp20_suppressions.xml # Hug semesters: +fa23 cs61b_fa23_checks.xml no_suppressions.xml sp23 cs61b_sp23_checks.xml no_suppressions.xml fa22 cs61b_fa22_checks.xml no_suppressions.xml fa20 cs61b_sp19_checks.xml no_suppressions.xml @@ -22,7 +23,7 @@ sp18 cs61b_sp18_checks.xml no_suppressions.xml sp17 cs61b_sp17_checks.xml no_suppressions.xml # Defaults -fa\d+ cs61b_fa22_checks.xml no_suppressions.xml +fa\d+ cs61b_fa23_checks.xml no_suppressions.xml sp\d+ cs61b_sp23_checks.xml no_suppressions.xml su\d+ cs61b_sp23_checks.xml no_suppressions.xml .* cs61b_sp23_checks.xml no_suppressions.xml