-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle-suppressions.xml
73 lines (61 loc) · 2.35 KB
/
checkstyle-suppressions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<!--
semanticcms-core-servlet - Java API for modeling web page content and relationships in a Servlet environment.
Copyright (C) 2022, 2023 AO Industries, Inc.
support@aoindustries.com
7262 Bull Pen Cir
Mobile, AL 36695
This file is part of semanticcms-core-servlet.
semanticcms-core-servlet is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
semanticcms-core-servlet 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with semanticcms-core-servlet. 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>
<!-- TODO: Complete Javadocs -->
<suppress checks="(MissingJavadocMethod|MissingJavadocType|SummaryJavadoc)" />
<!-- Using "Ex" for generic exceptions, since "E" is often "Element" -->
<suppress
checks="(InterfaceTypeParameterName|MethodTypeParameterName)"
message="'(Ex|Ex1|Ex2)'"
/>
<!-- Will keep "EE" suffix for consistency with "Java EE" and "Jakarta EE" -->
<suppress
checks="AbbreviationAsWordInName"
files="[/\\]com[/\\]semanticcms[/\\]core[/\\]servlet[/\\]PageContext\.java$"
message="'(PageContextCallableSkipEE|PageContextRunnableSkipEE|newPageContextSkipEE)'"
/>
<!-- Will keep "CMS" suffix -->
<suppress
checks="AbbreviationAsWordInName"
files="[/\\]com[/\\]semanticcms[/\\]core[/\\]servlet[/\\]SemanticCMS\.java$"
message="'SemanticCMS'"
/>
<!-- ao-fluent-html -->
<suppress
checks="LocalVariableName"
message="'[a-z]+_c'"
/>
<suppress
checks="MethodTypeParameterName"
message="'__'"
/>
<suppress
checks="ParameterName"
message="'[a-z]+__'"
/>
<!-- Will not reorder overloads -->
<suppress
checks="OverloadMethodsDeclarationOrder"
files="[/\\]com[/\\]semanticcms[/\\]core[/\\]servlet[/\\]PageIndex\.java$"
/>
</suppressions>