diff --git a/docs/package.json b/docs/package.json index 2d8e321fec74..910a2b5248f2 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 42aae2fb718e..3e0b0ad761d7 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 48c2a9866bac..87a6e2168ca8 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 8f1f839e86f1..cf4cd4ce046e 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 1fc1f02ad607..fbfcd880d87c 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 @@