File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,25 +6,25 @@ comments.
66
77## CLI flag
88
9- We can disable a rule using the ` -disable-rule ` flag.
9+ We can disable a rule using the ` -- disable-rule ` flag.
1010
1111Example:
1212
1313Disable the rule ` core::0140::lower-snake ` :
1414
1515``` sh
16- api-linter -disable-rule core::0140::lower-snake test.proto
16+ api-linter -- disable-rule core::0140::lower-snake test.proto
1717```
1818
1919To disable multiple rules, specify the flag multiple times respectively:
2020
2121``` sh
22- api-linter -disable-rule core::0140::lower-snake -disable-rule core::0131::request-name-field test.proto
22+ api-linter -- disable-rule core::0140::lower-snake - -disable-rule core::0131::request-name-field test.proto
2323```
2424
2525## Configuration file
2626
27- The linter accepts a configuration file using the ` -config ` CLI switch.
27+ The linter accepts a configuration file using the ` --- config ` CLI switch.
2828
2929Examples:
3030
You can’t perform that action at this time.
0 commit comments