mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-01 02:31:46 +08:00
upgrade checkstyle from a naming-only ruleset to a public-api gate: - unusedimports: dead imports fail the build (zero violations existed at adoption) - missingjavadoctype/method: public types and members must carry javadoc (scope public, @override exempt) - about 140 doc comments were added across records, filters, stores and gRPC servers - method name format now rejects find/query/fetch prefixes, encoding the repo crud verb law (select stays reserved for mybatis mappers and is policed by review) - suppressions: skip protobuf generated-sources, which only enter the scan in full-reactor builds - spotless: ratchet checks to origin/main so legacy formatting debt stops blocking unrelated changes and CI formats only what changed
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
<!--
|
|
Copyright 2016-present the IoT DC3 original author or authors.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as
|
|
published by the Free Software Foundation, either version 3 of the
|
|
License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
<!DOCTYPE suppressions PUBLIC
|
|
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
|
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
|
<suppressions>
|
|
<suppress files="org[\\/]openscada[\\/]opc[\\/].*" checks=".*"/>
|
|
<!-- protobuf/gRPC stubs are generated into target/generated-sources -->
|
|
<suppress files=".*[\\/]generated-sources[\\/].*" checks=".*"/>
|
|
</suppressions>
|