Skip to content

Commit 8a03f02

Browse files
committed
index: specify eslint globals as "readonly" (changed in v9)
1 parent 8cdba7e commit 8a03f02

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

77
### [2.0.2] - 2025-01-07
88

9+
- index: specify eslint globals as "readonly" (changed in v9)
910
- update codeclimate config for eslint 9
1011

1112
### [2.0.1] - 2025-01-07

index.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ module.exports = {
1212
root: true,
1313
extends: ["eslint:recommended"],
1414
globals: {
15-
CONT: 900,
16-
STOP: 901,
17-
DENY: 902,
18-
DENYSOFT: 903,
19-
DENYDISCONNECT: 904,
20-
DISCONNECT: 905,
21-
OK: 906,
22-
NEXT_HOOK: 907,
23-
DELAY: 908,
24-
DENYSOFTDISCONNECT: 909,
15+
CONT: "readonly",
16+
STOP: "readonly",
17+
DENY: "readonly",
18+
DENYSOFT: "readonly",
19+
DENYDISCONNECT: "readonly",
20+
DISCONNECT: "readonly",
21+
OK: "readonly",
22+
NEXT_HOOK: "readonly",
23+
DELAY: "readonly",
24+
DENYSOFTDISCONNECT: "readonly",
2525
},
2626
parserOptions: {
2727
ecmaVersion: "latest",

0 commit comments

Comments
 (0)