You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes/Packages can be excluded as shown below for each check:
86
86
87
-
Note that exclude paths should be relative to the source paths specified.
88
87
89
88
```json
90
89
"exclude": {
@@ -106,6 +105,10 @@ Note that exclude paths should be relative to the source paths specified.
106
105
}
107
106
```
108
107
108
+
{{site.data.alerts.note}} Exclude paths should be relative to the source paths specified. {{site.data.alerts.end}}
109
+
110
+
{{site.data.alerts.tip}} Exclude can either reside in rules JSON file or in a separate JSON file. If separate JSON file is used, it has to be passed using -e option.{{site.data.alerts.end}}
111
+
109
112
### Suppress Warnings
110
113
111
114
An alternative way to exclude classes/methods using meta data.
@@ -114,13 +117,13 @@ An alternative way to exclude classes/methods using meta data.
114
117
115
118
For example, if you have a class which has `Dynamic` usage and you want to omit that class from `Dynamic` check you can use `@SuppressWarnings` as show below.
0 commit comments