@haraka/eslint-config 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/index.js +10 -10
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
4
4
 
5
5
  ### Unreleased
6
6
 
7
+ ### [2.0.2] - 2025-01-07
8
+
9
+ - index: specify eslint globals as "readonly" (changed in v9)
10
+ - update codeclimate config for eslint 9
11
+
7
12
  ### [2.0.1] - 2025-01-07
8
13
 
9
14
  - deps(peer): don't pin versions
@@ -126,3 +131,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
126
131
  [1.1.5]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.5
127
132
  [2.0.0]: https://github.com/haraka/haraka-eslint/releases/tag/v2.0.0
128
133
  [2.0.1]: https://github.com/haraka/haraka-eslint/releases/tag/v2.0.1
134
+ [2.0.2]: https://github.com/haraka/haraka-eslint/releases/tag/v2.0.2
package/index.js CHANGED
@@ -12,16 +12,16 @@ module.exports = {
12
12
  root: true,
13
13
  extends: ["eslint:recommended"],
14
14
  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",
25
25
  },
26
26
  parserOptions: {
27
27
  ecmaVersion: "latest",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haraka/eslint-config",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "eslint config for Haraka projects",
5
5
  "keywords": [
6
6
  "haraka",