Skip to content

Commit b0b0f21

Browse files
authored
chore: update dependency eslint-plugin-regexp to ^3.1.0 (#20659)
1 parent 3e4a299 commit b0b0f21

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/eslint-config-eslint/base.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const js = require("@eslint/js");
44
const jsdoc = require("eslint-plugin-jsdoc");
55
const eslintCommentsPluginConfigs = require("@eslint-community/eslint-plugin-eslint-comments/configs");
66
const unicorn = require("eslint-plugin-unicorn").default;
7-
const regexp = require("eslint-plugin-regexp");
7+
const regexp = require("eslint-plugin-regexp").default;
88

99
// extends eslint recommended config
1010
/**
@@ -301,7 +301,7 @@ const eslintCommentsConfigs = [
301301
/**
302302
* @type {import("eslint").Linter.Config[]}
303303
*/
304-
const regexpConfigs = [regexp.configs["flat/recommended"]];
304+
const regexpConfigs = [regexp.configs.recommended];
305305

306306
/**
307307
* @type {import("eslint").Linter.Config[]}

packages/eslint-config-eslint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@eslint/js": "^10.0.1",
6767
"eslint-plugin-jsdoc": "^62.7.0",
6868
"eslint-plugin-n": "^17.11.1",
69-
"eslint-plugin-regexp": "^2.10.0",
69+
"eslint-plugin-regexp": "^3.1.0",
7070
"eslint-plugin-unicorn": "^63.0.0"
7171
},
7272
"devDependencies": {

0 commit comments

Comments
 (0)