From 71fd9d272a6bf6aabe27926752231fe3a4910f09 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Sun, 15 Dec 2024 18:11:43 +0100 Subject: [PATCH] Re-enable ESLint rule `ava/prefer-t-regex` --- config/eslint.js | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/eslint.js b/config/eslint.js index ae50151e..7257791a 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -956,7 +956,7 @@ export default [ "ava/no-unknown-modifiers": ["error"], "ava/prefer-async-await": ["error"], "ava/prefer-power-assert": ["off"], - "ava/prefer-t-regex": ["off"], + "ava/prefer-t-regex": ["error"], "ava/test-title": ["error"], "ava/test-title-format": [ "error", diff --git a/package-lock.json b/package-lock.json index dfb5272c..0e148055 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "depreman": "0.3.4", "dotenv": "16.3.1", "eslint": "9.14.0", - "eslint-plugin-ava": "15.0.0", + "eslint-plugin-ava": "15.0.1", "eslint-plugin-depend": "0.12.0", "eslint-plugin-jsdoc": "50.4.1", "eslint-plugin-regexp": "2.6.0", @@ -5520,9 +5520,9 @@ } }, "node_modules/eslint-plugin-ava": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-15.0.0.tgz", - "integrity": "sha512-yqiP+fB98g07a431P8QVRzWSWEpyK+I9qSlmWaRD7UTapcioAJ5rNn2pd5Qm8dzNdq4KlHv8m6OzF6SjjcvRzg==", + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-15.0.1.tgz", + "integrity": "sha512-eRX7mLFPvalGDWztJ4zm+anez2X6J/88r9CqLFfPAIMvFlGyJ+dUoFppoohgUQZLV09mIBNz5guP07zFJOLF8g==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index e0644b46..7f9aa398 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "depreman": "0.3.4", "dotenv": "16.3.1", "eslint": "9.14.0", - "eslint-plugin-ava": "15.0.0", + "eslint-plugin-ava": "15.0.1", "eslint-plugin-depend": "0.12.0", "eslint-plugin-jsdoc": "50.4.1", "eslint-plugin-regexp": "2.6.0",