[DOC] add spotbug documentation
This commit is contained in:
parent
c43e283b57
commit
d968a2c48f
@ -93,7 +93,12 @@ Enable the pre-commit checker
|
||||
|
||||
> **_Note_**: You can change the code in `.git/hooks/pre-commit` by replacing `formatter:verify` with `formatter:format` to auto format the code @ every commit
|
||||
|
||||
Run Spot-bug:
|
||||
------------
|
||||
|
||||
```bash
|
||||
mvn spotbugs:check
|
||||
```
|
||||
|
||||
Add Gitea in the dependency for the registry:
|
||||
=============================================
|
||||
|
5
spotbugs-security-exclude.xml
Normal file
5
spotbugs-security-exclude.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<FindBugsFilter>
|
||||
<Match>
|
||||
<Bug category="SECURITY"/>
|
||||
</Match>
|
||||
</FindBugsFilter>
|
2
spotbugs-security-include.xml
Normal file
2
spotbugs-security-include.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<FindBugsFilter>
|
||||
</FindBugsFilter>
|
Loading…
Reference in New Issue
Block a user