Skip to content

Commit 2b64a09

Browse files
Fixed incorrect default of ignoreSticky option in regexp/no-super-linear-move (#630)
* Fixed incorrect default of `ignoreSticky` option in `regexp/no-super-linear-move` * Create dry-horses-punch.md
1 parent aaa5b69 commit 2b64a09

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/dry-horses-punch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-regexp": patch
3+
---
4+
5+
Fixed incorrect default of `ignoreSticky` option in `regexp/no-super-linear-move`

lib/rules/no-super-linear-move.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default createRule("no-super-linear-move", {
146146
create(context) {
147147
const reportUncertain =
148148
(context.options[0]?.report ?? "certain") === "potential"
149-
const ignoreSticky = context.options[0]?.ignoreSticky ?? false
149+
const ignoreSticky = context.options[0]?.ignoreSticky ?? true
150150
const ignorePartial = context.options[0]?.ignorePartial ?? true
151151

152152
function getScslreReports(

0 commit comments

Comments
 (0)