From 207804ac04ab81631422eb34e59a1f4273622ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= <14854048+kripod@users.noreply.github.com> Date: Sat, 11 Jan 2025 22:27:33 +0100 Subject: [PATCH] refactor(base): allow `continue` statements --- .changeset/ninety-items-fetch.md | 5 +++++ src/common.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/ninety-items-fetch.md diff --git a/.changeset/ninety-items-fetch.md b/.changeset/ninety-items-fetch.md new file mode 100644 index 0000000..277388e --- /dev/null +++ b/.changeset/ninety-items-fetch.md @@ -0,0 +1,5 @@ +--- +"@kripod/eslint-config": patch +--- + +refactor(base): allow `continue` statements diff --git a/src/common.ts b/src/common.ts index 8374681..9f373af 100644 --- a/src/common.ts +++ b/src/common.ts @@ -70,7 +70,7 @@ export const coreRules = { "no-constant-binary-expression": "error", "no-constant-condition": "error", "no-constructor-return": "error", - "no-continue": "warn", + "no-continue": "off", // TODO: Replace with 'regexp/no-control-character' "no-control-regex": "error",