Repository navigation
Commit 2df9fa9
committed
fix(ar2): stop negated-warning-mandate scope at every FANBOYS coordinator
The comma/and/then exclusion still let but/or/nor/yet/so/for launder an
unrelated negation across a coordinated clause into a real AR2 suppression
finding. Widen the negative-lookahead to the full FANBOYS set plus 'then'
and add a regression for each.
Signed-off-by: Amir Fathi <[email protected]>1 parent a2a6071 commit 2df9fa9
2 files changed
Lines changed: 16 additions & 6 deletions
File tree
- src/skillspector/nodes/analyzers
- tests/nodes/analyzers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
189 | 191 | | |
190 | | - | |
| 192 | + | |
| 193 | + | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
414 | 420 | | |
415 | 421 | | |
416 | 422 | | |
417 | | - | |
418 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
419 | 426 | | |
420 | 427 | | |
421 | 428 | | |
| |||
0 commit comments