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
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,8 @@ The object will always have `errors` and `warnings` keys that map to arrays. If
155
155
156
156
## Configuration
157
157
The command line validator is built so that each IBM validation can be configured. To get started configuring the validator, [set up](#setup) a [configuration file](#configuration-file) and continue reading this section.
158
-
Specific validation "rules" can be turned off, or configured to trigger either errors or warnings in the validator. Some validations can be configured even further, such as switching the case convention to validate against for parameter names.
158
+
Specific validation "rules" can be turned off, or configured to trigger an error, warning, info, or hint message in the validator output.
159
+
Some validations can be configured even further, such as switching the case convention to validate against for parameter names.
159
160
Additionally, certain files can be ignored by the validator. Any glob placed in a file called `.validateignore` will always be ignored by the validator at runtime. This is set up like a `.gitignore` or a `.eslintignore` file.
160
161
161
162
### Setup
@@ -298,7 +299,7 @@ The supported rules are described below:
298
299
299
300
#### Statuses
300
301
301
-
Each rule can be assigned a status. The supported statuses are `error`, `warning`, and `off`.
302
+
Each rule can be assigned a status. The supported statuses are `error`, `warning`, `info`, `hint`and `off`.
302
303
Some rules can be configured further with configuration options. The format of this configuration is to provide an array, rather than just a string. e.g.
If just a string is provided for these rule, the default configuration option will be used. If only one value is provided in the array, it **MUST** be a status. The default configuration option will be used in this case as well. The rules that support configuration options will have **two** values in the [defaults](#default-values) table.
0 commit comments