Skip to content

Commit cbf7db0

Browse files
author
Jenkins
committed
9.16.0
1 parent 715ba8b commit cbf7db0

File tree

6 files changed

+84
-30
lines changed

6 files changed

+84
-30
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docs-eslint",
33
"private": true,
4-
"version": "9.15.0",
4+
"version": "9.16.0",
55
"description": "",
66
"main": "index.js",
77
"keywords": [],

docs/src/_data/rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"name": "no-compare-neg-zero",
55-
"description": "Disallow comparing against -0",
55+
"description": "Disallow comparing against `-0`",
5656
"recommended": true,
5757
"fixable": false,
5858
"hasSuggestions": false

docs/src/_data/rules_meta.json

Lines changed: 79 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,9 @@
440440
"getter-return": {
441441
"type": "problem",
442442
"defaultOptions": [
443-
{}
443+
{
444+
"allowImplicit": false
445+
}
444446
],
445447
"docs": {
446448
"description": "Enforce `return` statements in getters",
@@ -515,7 +517,8 @@
515517
{
516518
"exceptionPatterns": [],
517519
"exceptions": [],
518-
"min": 2
520+
"min": 2,
521+
"properties": "always"
519522
}
520523
],
521524
"docs": {
@@ -528,7 +531,12 @@
528531
"type": "suggestion",
529532
"defaultOptions": [
530533
"^.+$",
531-
{}
534+
{
535+
"classFields": false,
536+
"ignoreDestructuring": false,
537+
"onlyDeclarations": false,
538+
"properties": false
539+
}
532540
],
533541
"docs": {
534542
"description": "Require identifiers to match a specified regular expression",
@@ -891,7 +899,8 @@
891899
"type": "suggestion",
892900
"defaultOptions": [
893901
{
894-
"allow": []
902+
"allow": [],
903+
"int32Hint": false
895904
}
896905
],
897906
"docs": {
@@ -1113,7 +1122,9 @@
11131122
"no-duplicate-imports": {
11141123
"type": "problem",
11151124
"defaultOptions": [
1116-
{}
1125+
{
1126+
"includeExports": false
1127+
}
11171128
],
11181129
"docs": {
11191130
"description": "Disallow duplicate module imports",
@@ -1173,7 +1184,9 @@
11731184
"no-empty-pattern": {
11741185
"type": "problem",
11751186
"defaultOptions": [
1176-
{}
1187+
{
1188+
"allowObjectPatternsAsParameters": false
1189+
}
11771190
],
11781191
"docs": {
11791192
"description": "Disallow empty destructuring patterns",
@@ -1200,7 +1213,9 @@
12001213
"no-eval": {
12011214
"type": "suggestion",
12021215
"defaultOptions": [
1203-
{}
1216+
{
1217+
"allowIndirect": false
1218+
}
12041219
],
12051220
"docs": {
12061221
"description": "Disallow the use of `eval()`",
@@ -1349,7 +1364,9 @@
13491364
"no-implicit-globals": {
13501365
"type": "suggestion",
13511366
"defaultOptions": [
1352-
{}
1367+
{
1368+
"lexicalBindings": false
1369+
}
13531370
],
13541371
"docs": {
13551372
"description": "Disallow declarations in the global scope",
@@ -1387,7 +1404,10 @@
13871404
"no-inner-declarations": {
13881405
"type": "problem",
13891406
"defaultOptions": [
1390-
"functions"
1407+
"functions",
1408+
{
1409+
"blockScopedFunctions": "allow"
1410+
}
13911411
],
13921412
"docs": {
13931413
"description": "Disallow variable or `function` declarations in nested blocks",
@@ -1549,7 +1569,9 @@
15491569
"no-multi-assign": {
15501570
"type": "suggestion",
15511571
"defaultOptions": [
1552-
{}
1572+
{
1573+
"ignoreNonDeclaration": false
1574+
}
15531575
],
15541576
"docs": {
15551577
"description": "Disallow use of chained assignment expressions",
@@ -1756,7 +1778,9 @@
17561778
"no-plusplus": {
17571779
"type": "suggestion",
17581780
"defaultOptions": [
1759-
{}
1781+
{
1782+
"allowForLoopAfterthoughts": false
1783+
}
17601784
],
17611785
"docs": {
17621786
"description": "Disallow the unary operators `++` and `--`",
@@ -1787,7 +1811,9 @@
17871811
"no-promise-executor-return": {
17881812
"type": "problem",
17891813
"defaultOptions": [
1790-
{}
1814+
{
1815+
"allowVoid": false
1816+
}
17911817
],
17921818
"docs": {
17931819
"description": "Disallow returning values from Promise executor functions",
@@ -1963,7 +1989,9 @@
19631989
"defaultOptions": [
19641990
{
19651991
"allow": [],
1966-
"hoist": "functions"
1992+
"builtinGlobals": false,
1993+
"hoist": "functions",
1994+
"ignoreOnInitialization": false
19671995
}
19681996
],
19691997
"docs": {
@@ -2067,7 +2095,9 @@
20672095
"no-undef": {
20682096
"type": "problem",
20692097
"defaultOptions": [
2070-
{}
2098+
{
2099+
"typeof": false
2100+
}
20712101
],
20722102
"docs": {
20732103
"description": "Disallow the use of undeclared variables unless mentioned in `/*global */` comments",
@@ -2103,6 +2133,7 @@
21032133
"allowFunctionParams": true,
21042134
"allowInArrayDestructuring": true,
21052135
"allowInObjectDestructuring": true,
2136+
"enforceInClassFields": false,
21062137
"enforceInMethodNames": false
21072138
}
21082139
],
@@ -2174,7 +2205,9 @@
21742205
"no-unsafe-negation": {
21752206
"type": "problem",
21762207
"defaultOptions": [
2177-
{}
2208+
{
2209+
"enforceForOrderingRelations": false
2210+
}
21782211
],
21792212
"docs": {
21802213
"description": "Disallow negating the left operand of relational operators",
@@ -2187,7 +2220,9 @@
21872220
"no-unsafe-optional-chaining": {
21882221
"type": "problem",
21892222
"defaultOptions": [
2190-
{}
2223+
{
2224+
"disallowArithmeticOperators": false
2225+
}
21912226
],
21922227
"docs": {
21932228
"description": "Disallow use of optional chaining in contexts where the `undefined` value is not allowed",
@@ -2248,7 +2283,8 @@
22482283
{
22492284
"classes": true,
22502285
"functions": true,
2251-
"variables": true
2286+
"variables": true,
2287+
"allowNamedExports": false
22522288
}
22532289
]
22542290
},
@@ -2327,7 +2363,11 @@
23272363
"no-useless-rename": {
23282364
"type": "suggestion",
23292365
"defaultOptions": [
2330-
{}
2366+
{
2367+
"ignoreDestructuring": false,
2368+
"ignoreImport": false,
2369+
"ignoreExport": false
2370+
}
23312371
],
23322372
"docs": {
23332373
"description": "Disallow renaming import, export, and destructured assignments to the same name",
@@ -2357,7 +2397,9 @@
23572397
"no-void": {
23582398
"type": "suggestion",
23592399
"defaultOptions": [
2360-
{}
2400+
{
2401+
"allowAsStatement": false
2402+
}
23612403
],
23622404
"docs": {
23632405
"description": "Disallow `void` operators",
@@ -2539,7 +2581,8 @@
25392581
"type": "suggestion",
25402582
"defaultOptions": [
25412583
{
2542-
"destructuring": "any"
2584+
"destructuring": "any",
2585+
"ignoreReadBeforeAssign": false
25432586
}
25442587
],
25452588
"docs": {
@@ -2606,7 +2649,9 @@
26062649
"prefer-promise-reject-errors": {
26072650
"type": "suggestion",
26082651
"defaultOptions": [
2609-
{}
2652+
{
2653+
"allowEmptyReject": false
2654+
}
26102655
],
26112656
"docs": {
26122657
"description": "Require using Error objects as Promise rejection reasons",
@@ -2628,7 +2673,9 @@
26282673
"prefer-regex-literals": {
26292674
"type": "suggestion",
26302675
"defaultOptions": [
2631-
{}
2676+
{
2677+
"disallowRedundantWrapping": false
2678+
}
26322679
],
26332680
"docs": {
26342681
"description": "Disallow use of the `RegExp` constructor in favor of regular expression literals",
@@ -2700,7 +2747,9 @@
27002747
"require-atomic-updates": {
27012748
"type": "problem",
27022749
"defaultOptions": [
2703-
{}
2750+
{
2751+
"allowProperties": false
2752+
}
27042753
],
27052754
"docs": {
27062755
"description": "Disallow assignments that can lead to race conditions due to usage of `await` or `yield`",
@@ -2809,6 +2858,7 @@
28092858
{
28102859
"allowLineSeparatedGroups": false,
28112860
"caseSensitive": true,
2861+
"ignoreComputedKeys": false,
28122862
"minKeys": 2,
28132863
"natural": false
28142864
}
@@ -2822,7 +2872,9 @@
28222872
"sort-vars": {
28232873
"type": "suggestion",
28242874
"defaultOptions": [
2825-
{}
2875+
{
2876+
"ignoreCase": false
2877+
}
28262878
],
28272879
"docs": {
28282880
"description": "Require variables within the same declaration block to be sorted",
@@ -2981,7 +3033,9 @@
29813033
"valid-typeof": {
29823034
"type": "problem",
29833035
"defaultOptions": [
2984-
{}
3036+
{
3037+
"requireStringLiterals": false
3038+
}
29853039
],
29863040
"docs": {
29873041
"description": "Enforce comparing `typeof` expressions against valid strings",

docs/src/_data/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"path": "/docs/head/"
77
},
88
{
9-
"version": "9.15.0",
9+
"version": "9.16.0",
1010
"branch": "latest",
1111
"path": "/docs/latest/"
1212
},

docs/src/use/formatters/html-formatter-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<div id="overview" class="bg-2">
119119
<h1>ESLint Report</h1>
120120
<div>
121-
<span>8 problems (4 errors, 4 warnings)</span> - Generated on Fri Nov 15 2024 17:56:19 GMT+0000 (Coordinated Universal Time)
121+
<span>8 problems (4 errors, 4 warnings)</span> - Generated on Fri Nov 29 2024 21:30:46 GMT+0000 (Coordinated Universal Time)
122122
</div>
123123
</div>
124124
<table>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint",
3-
"version": "9.15.0",
3+
"version": "9.16.0",
44
"author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
55
"description": "An AST-based pattern checker for JavaScript.",
66
"type": "commonjs",

0 commit comments

Comments
 (0)