forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
source-formatter.properties
140 lines (126 loc) · 5.54 KB
/
source-formatter.properties
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
##
## Exclusions
##
#
# Input a list of comma delimited paths that will be excluded by the source
# formatter.
#
source.formatter.excludes=\
**/.cache/**,\
**/.m2/**,\
**/.task-cache/**,\
**/bower_components/**,\
**/bundles/**,\
**/tools/sdk/**,\
**/tools/tck/**,\
**/webapps/**,\
definitions/web-facesconfig_1_2.xml,\
portal-impl/src/portal-ext.properties,\
portal-web/docroot/dtd/web-facesconfig_1_2.xml
#
# Input a list of comma delimited entities that are allowed to have custom
# finders that have 'WHERE ... NOT IN' sql statements. By default, we do not
# allow this due to scalability problems. See LPS-51315.
#
custom.finder.scalability.excludes=
#
# Input a list of comma delimited paths that should be ignored when trying
# to fit multiple lines on single line.
#
fit.on.single.line.excludes=\
portal-impl/test/integration/com/liferay/portal/xmlrpc/XmlRpcParserTest.java
# Input a list of comma delimited paths that are allowed to have
# unalphabetized Java terms. In addition these paths are allowed to have
# nonfinal variables that are capitalized.
#
javaterm.sort.excludes=\
portal-impl/src/com/liferay/portal/util/PortalImpl.java@_logWebServerServlet,\
portal-impl/test/unit/com/liferay/portlet/PortletRequestDispatcherImplTest.java,\
portal-kernel/src/com/liferay/portal/kernel/log/LogFactoryUtil.java@_logFactory,\
portal-kernel/src/com/liferay/portal/kernel/model/ListTypeConstants.java,\
portal-kernel/src/com/liferay/portal/kernel/portlet/UserAttributes.java,\
portal-kernel/src/com/liferay/portal/kernel/servlet/HttpHeaders.java,\
portal-kernel/src/com/liferay/portal/kernel/util/JavaDetector.java@_log,\
portal-kernel/src/com/liferay/portal/kernel/util/ReleaseInfo.java,\
tools/servers/tcat/LiferayDeployerFactory.groovy
#
# Input a list of comma delimited JSP paths that are allowed to have
# variables that are not used by other files in portal. These variable are
# used by plugins.
#
jsp.unused.variables.excludes=
#
# Input a list of comma delimited paths that are allowed to surpass the 80
# column limit.
#
line.length.excludes=\
portal-impl/src/com/liferay/portal/fabric/netty/client/NettyFabricClientConfig.java@69,\
portal-impl/src/com/liferay/portal/spring/hibernate/PortalHibernateConfiguration.java@342,\
portal-impl/src/com/liferay/portal/tools/WebXML23Converter.java@82,\
portal-impl/src/com/liferay/portal/util/PortalImpl.java@556,\
portal-impl/src/com/liferay/portal/util/PropsValues.java,\
portal-impl/src/com/liferay/portal/util/WebKeys.java,\
portal-kernel/src/com/liferay/portal/kernel/model/ListTypeConstants.java@53,\
portal-kernel/src/com/liferay/portal/kernel/model/ListTypeConstants.java@72,\
portal-kernel/src/com/liferay/portal/kernel/model/ListTypeConstants.java@105,\
portal-kernel/src/com/liferay/portal/kernel/search/QueryConfig.java@371,\
portal-kernel/src/com/liferay/portal/kernel/util/PropsKeys.java,\
portal-kernel/src/com/liferay/portal/kernel/util/WebKeys.java
#
# Input a list of comma delimited portlet XML paths that are allowed to have
# non-numerical portlet-name elements.
#
numerical.portlet.name.element.excludes=\
portal-impl/src/com/liferay/portal/deploy/dependencies/liferay-portlet.xml
#
# Input a list of comma delimited paths that are allowed to use
# java.lang.reflect.Proxy.
#
proxy.excludes=\
portal-kernel/src/com/liferay/portal/kernel/util/ProxyUtil.java
#
# Input a list of comma delimited paths that are allowed to run outside the
# portal. For files that match any of these paths, we skip source formatting
# rules that enforce calling portal methods.
#
run.outside.portal.excludes=\
**/markdown-converter/**,\
**/osgi-util/**,\
**/portal-osgi-web-jasper-plugins/**,\
**/portal-osgi-web-wab-extender/**,\
**/portal-target-platform-indexer/**,\
**/registry-api/**,\
**/sync-engine/**,\
portal-kernel/src/com/liferay/portal/kernel/util/GetterUtil.java
#
# Input a list of comma delimited paths that are allowed to use
# java.security.SecureRandom. See LPS-39508.
#
secure.random.excludes=\
portal-kernel/src/com/liferay/portal/kernel/security/SecureRandomUtil.java,\
portal-kernel/test/unit/com/liferay/portal/kernel/security/SecureRandomUtilTest.java
#
# Input a list of comma delimited objects in service.xml files that are
# allowed to have unsorted finder-columns.
#
service.finder.column.sort.excludes=\
portal-impl/src/com/liferay/portal/service.xml@User
#
# TEMPORARY PROPERTY. THIS SHOULD BE REMOVED AFTER ALL VIOLATIONS FOR
# LPS-69661 HAVE BEEN FIXED.
#
service.reference.util.excludes=\
**/**
#
# Input a list of comma delimited paths that are allowed to have nonstatic
# _log variables.
#
static.log.excludes=\
portal-impl/src/com/liferay/portal/servlet/filters/BasePortalFilter.java,\
portal-kernel/src/com/liferay/portal/kernel/log/LogWrapper.java
#
# Input a list of comma delimited upgrade paths that are allowed to call
# ServiceUtil methods. See LPS-34911.
#
upgrade.service.util.excludes=\
portal-impl/src/com/liferay/portal/upgrade/v6_1_0/UpgradeImageGallery.java