This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 771bbd9b authored by eduardDeploy's avatar eduardDeploy
Browse files

fixing checkstyle

parent 7aa2ec64
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -35,7 +35,7 @@ pmdCheckstylePrettierLint:
- echo "Running PMD"
- '"pmd-bin-$VERSION/bin/run.sh" pmd -d src/main/java -f textcolor -R pmd_rules.xml 2>&1 | tee pmd.log || SUCCESS=false'
- echo "Running checkstyle"
- ./mvnw -ntp checkstyle:check -Dexcludes=**/keycloak-theme/gitsearch/**/* -Dmaven.repo.local=$MAVEN_USER_HOME || SUCCESS=false
- ./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME || SUCCESS=false
- echo "Running prettier"
- npm install
- npm run prettier:check
......
......@@ -58,7 +58,7 @@
"java:war:dev": "npm run java:war -- -Pdev,webapp",
"java:war:prod": "npm run java:war -- -Pprod",
"jest": "jest --coverage --logHeapUsage --maxWorkers=2 --config jest.conf.js",
"lint": "eslint . --ext .js,.ts --ignore-path src/main/resources/keycloak-theme",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"prettier:check": "prettier --check \"{,src/main/java/**/,src/test/java/**/,src/main/webapp/**/}*.{md,json,yml,html,ts,css,scss,java}\"",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment