diff --git a/.github/workflows/checkstyle.xml b/.github/workflows/checkstyle.xml new file mode 100644 index 0000000..4089867 --- /dev/null +++ b/.github/workflows/checkstyle.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.github/workflows/code-check.yaml b/.github/workflows/code-check.yaml index f49f3de..cc4bae7 100644 --- a/.github/workflows/code-check.yaml +++ b/.github/workflows/code-check.yaml @@ -30,5 +30,5 @@ jobs: - name: Super-linter uses: super-linter/super-linter@v6.3.1 env: - # To report GitHub Actions status checks - GITHUB_TOKEN: ${{ secrets.MyGitHubToken }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.MyGitHubToken }} + CHECKSTYLE_FILTER_PATH: ".github/workflows/checkstyle.xml" \ No newline at end of file diff --git a/qodana.yaml b/qodana.yaml deleted file mode 100644 index b76de5f..0000000 --- a/qodana.yaml +++ /dev/null @@ -1,41 +0,0 @@ -#-------------------------------------------------------------------------------# -# Qodana analysis is configured by qodana.yaml file # -# https://www.jetbrains.com/help/qodana/qodana-yaml.html # -#-------------------------------------------------------------------------------# -version: "1.0" -#Specify inspection profile for code analysis -profile: - name: qodana.starter -#Enable inspections -#include: -# - name: -#Disable inspections -#exclude: -# - name: -# paths: -# - -projectJDK: 17 #(Applied in CI/CD pipeline) -#Execute shell command before Qodana execution (Applied in CI/CD pipeline) -#bootstrap: sh ./prepare-qodana.sh -#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) -#plugins: -# - id: #(plugin id can be found at https://plugins.jetbrains.com) -#Specify Qodana linter for analysis (Applied in CI/CD pipeline) -linter: jetbrains/qodana-jvm:latest -include: - - name: ClassLoaderInstantiation - - name: NonThreadSafeLazyInitialization - - name: DoubleBraceInitialization - - name: JavaLangImport - - name: UNUSED_IMPORT - - name: SamePackageImport - - name: ArgNamesErrorsInspection - - name: ArgNamesWarningsInspection - - name: AssertMessageNotString - - name: EqualsCalledOnEnumConstant - - name: ListIndexOfReplaceableByContains - - name: ObjectsEqualsCanBeSimplified - - name: SizeReplaceableByIsEmpty - - name: ArrayCreationWithoutNewKeyword -exclude: - - name: VulnerableLibrariesLocal