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]
107
107
| | --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|
108
108
| -U| --update-all | Update the content of all snapshots that have changed in test.|
109
109
| -f| --filter | Filter rule test cases to execute using a glob pattern.|
110
+ | | --include-off | Include ` severity:off ` rules in test
110
111
| -i| --interactive | start an interactive review to update snapshots selectively.|
111
112
| -h| --help | Print help.|
112
113
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ Start an interactive review to update snapshots selectively
41
41
42
42
Filter rule test cases to execute using a glob pattern
43
43
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
+
44
49
### ` -h, --help `
45
50
46
51
Print help
You can’t perform that action at this time.
0 commit comments