File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,19 @@ supported syntax for selectors is:
133
133
| ` :not(> Bar) ` | Not pseudo-class |
134
134
| ` :is(> Bar) ` | Is pseudo-class |
135
135
136
+ There is also the ` :exit ` pseudo that is only valid at the end of the whole
137
+ selector. When it's present, Deno will call the function while going ** up** the
138
+ tree instead of when going down.
139
+
140
+ ::: tip
141
+
142
+ We highly recommend using the
143
+ [ typescript-eslint playground] ( https://typescript-eslint.io/play/ ) when
144
+ developing lint rules. It allows you to inspect code and the resulting AST
145
+ format. This makes it easier to see which selectors match which node.
146
+
147
+ :::
148
+
136
149
## Applying fixes
137
150
138
151
A custom lint rule can supply a function to apply a fix when reporting a
You can’t perform that action at this time.
0 commit comments