From e9509642f6e6c2692565d2a42ecd98c7c41e48b1 Mon Sep 17 00:00:00 2001 From: ESLint Jenkins Date: Sun, 6 Nov 2022 01:18:06 -0500 Subject: [PATCH] 8.27.0 --- docs/package.json | 2 +- docs/src/_data/rule_versions.json | 4 +++- docs/src/_data/rules.json | 14 ++++++++++++++ docs/src/_data/rules_meta.json | 18 +++++++++++++++++- .../formatters/html-formatter-example.html | 2 +- package.json | 2 +- 6 files changed, 37 insertions(+), 5 deletions(-) diff --git a/docs/package.json b/docs/package.json index 2d8e321fec7..910a2b5248f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,7 +1,7 @@ { "name": "docs-eslint", "private": true, - "version": "8.26.0", + "version": "8.27.0", "description": "", "main": "index.js", "keywords": [], diff --git a/docs/src/_data/rule_versions.json b/docs/src/_data/rule_versions.json index 42aae2fb718..3e0b0ad761d 100644 --- a/docs/src/_data/rule_versions.json +++ b/docs/src/_data/rule_versions.json @@ -305,7 +305,9 @@ "wrap-regex": "0.1.0", "yield-star-spacing": "2.0.0-alpha-1", "yoda": "0.7.1", - "logical-assignment-operators": "8.24.0" + "logical-assignment-operators": "8.24.0", + "no-empty-static-block": "8.27.0", + "no-new-native-nonconstructor": "8.27.0" }, "removed": { "generator-star": "1.0.0-rc-1", diff --git a/docs/src/_data/rules.json b/docs/src/_data/rules.json index 48c2a9866ba..87a6e2168ca 100644 --- a/docs/src/_data/rules.json +++ b/docs/src/_data/rules.json @@ -229,6 +229,13 @@ "fixable": false, "hasSuggestions": true }, + { + "name": "no-new-native-nonconstructor", + "description": "Disallow `new` operators with global non-constructor functions", + "recommended": false, + "fixable": false, + "hasSuggestions": false + }, { "name": "no-new-symbol", "description": "Disallow `new` operators with the `Symbol` object", @@ -740,6 +747,13 @@ "fixable": false, "hasSuggestions": false }, + { + "name": "no-empty-static-block", + "description": "Disallow empty static blocks", + "recommended": false, + "fixable": false, + "hasSuggestions": false + }, { "name": "no-eq-null", "description": "Disallow `null` comparisons without type-checking operators", diff --git a/docs/src/_data/rules_meta.json b/docs/src/_data/rules_meta.json index 8f1f839e86f..cf4cd4ce046 100644 --- a/docs/src/_data/rules_meta.json +++ b/docs/src/_data/rules_meta.json @@ -937,8 +937,8 @@ "fixable": "code" }, "no-empty": { - "type": "suggestion", "hasSuggestions": true, + "type": "suggestion", "docs": { "description": "Disallow empty block statements", "recommended": true, @@ -969,6 +969,14 @@ "url": "https://eslint.org/docs/rules/no-empty-pattern" } }, + "no-empty-static-block": { + "type": "suggestion", + "docs": { + "description": "Disallow empty static blocks", + "recommended": false, + "url": "https://eslint.org/docs/rules/no-empty-static-block" + } + }, "no-eq-null": { "type": "suggestion", "docs": { @@ -1342,6 +1350,14 @@ "url": "https://eslint.org/docs/rules/no-new-func" } }, + "no-new-native-nonconstructor": { + "type": "problem", + "docs": { + "description": "Disallow `new` operators with global non-constructor functions", + "recommended": false, + "url": "https://eslint.org/docs/rules/no-new-native-nonconstructor" + } + }, "no-new-object": { "type": "suggestion", "docs": { diff --git a/docs/src/user-guide/formatters/html-formatter-example.html b/docs/src/user-guide/formatters/html-formatter-example.html index 1fc1f02ad60..fbfcd880d87 100644 --- a/docs/src/user-guide/formatters/html-formatter-example.html +++ b/docs/src/user-guide/formatters/html-formatter-example.html @@ -118,7 +118,7 @@

ESLint Report

- 9 problems (5 errors, 4 warnings) - Generated on Fri Oct 21 2022 17:01:50 GMT-0400 (Eastern Daylight Time) + 9 problems (5 errors, 4 warnings) - Generated on Sun Nov 06 2022 01:18:08 GMT-0500 (Eastern Standard Time)
diff --git a/package.json b/package.json index b6d82b8a60a..a39612bac53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint", - "version": "8.26.0", + "version": "8.27.0", "author": "Nicholas C. Zakas ", "description": "An AST-based pattern checker for JavaScript.", "bin": {