File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ ast-grep test [OPTIONS]
107107| | --skip-snapshot-tests | Only check if the test code is valid, without checking rule output. Turn it on when you want to ignore the output of rules|
108108| -U| --update-all | Update the content of all snapshots that have changed in test.|
109109| -f| --filter | Filter rule test cases to execute using a glob pattern.|
110+ | | --include-off | Include ` severity:off ` rules in test
110111| -i| --interactive | start an interactive review to update snapshots selectively.|
111112| -h| --help | Print help.|
112113
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ Start an interactive review to update snapshots selectively
4141
4242Filter rule test cases to execute using a glob pattern
4343
44+ ### ` --include-off `
45+ Include ` severity:off ` rules in test
46+
47+ ast-grep will not run rules with ` severity: off ` by default. This option will include those rules in the test.
48+
4449### ` -h, --help `
4550
4651Print help
You can’t perform that action at this time.
0 commit comments