-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
189 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Call Checkstyle | ||
|
||
on: | ||
pull_request: | ||
branches: ["master", "develop"] | ||
paths: | ||
- '**/*.java' | ||
|
||
jobs: | ||
style-check: | ||
uses: PSMRI/.github/.github/workflows/checkstyle.yml@main | ||
with: | ||
java-version: '17' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
/out-tsc | ||
/target | ||
/logs | ||
command_output.log | ||
|
||
# dependencies | ||
/node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name="Checker"> | ||
<property name="severity" value="warning" /> | ||
<property name="fileExtensions" value="java" /> | ||
|
||
<!-- Checks for Size Violations --> | ||
<module name="FileLength"> | ||
<property name="max" value="500" /> | ||
</module> | ||
<module name="LineLength"> | ||
<property name="max" value="120" /> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
<!-- Checks for Naming Conventions --> | ||
<module name="MethodName" /> | ||
<module name="PackageName" /> | ||
<module name="TypeName" /> | ||
<module name="ParameterName" /> | ||
<module name="LocalVariableName" /> | ||
<module name="MemberName" /> | ||
|
||
<!-- Checks for imports --> | ||
<module name="AvoidStarImport" /> | ||
<module name="IllegalImport" /> | ||
<module name="RedundantImport" /> | ||
<module name="UnusedImports" /> | ||
|
||
<!-- Checks for Size Violations --> | ||
<module name="MethodLength"> | ||
<property name="max" value="50" /> | ||
</module> | ||
|
||
<!-- Checks for whitespace --> | ||
<module name="EmptyLineSeparator" /> | ||
<module name="GenericWhitespace" /> | ||
<module name="MethodParamPad" /> | ||
<module name="NoWhitespaceAfter" /> | ||
<module name="NoWhitespaceBefore" /> | ||
<module name="ParenPad" /> | ||
<module name="TypecastParenPad" /> | ||
<module name="WhitespaceAfter" /> | ||
<module name="WhitespaceAround" /> | ||
|
||
<!-- Modifier Checks --> | ||
<module name="ModifierOrder" /> | ||
<module name="RedundantModifier" /> | ||
|
||
<!-- Checks for blocks --> | ||
<module name="EmptyBlock" /> | ||
<module name="LeftCurly" /> | ||
<module name="RightCurly" /> | ||
<module name="NeedBraces" /> | ||
|
||
<!-- Checks for common coding problems --> | ||
<module name="EmptyStatement" /> | ||
<module name="EqualsHashCode" /> | ||
<module name="IllegalInstantiation" /> | ||
<module name="MissingSwitchDefault" /> | ||
<module name="SimplifyBooleanExpression" /> | ||
<module name="SimplifyBooleanReturn" /> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
@Data | ||
public class SaveFacilityIdForVisit { | ||
|
||
String facilityId; | ||
String abdmFacilityId; | ||
BigInteger visitCode; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.