@haraka/eslint-config 2.0.3 → 2.0.4

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 +20 -20
  3. package/package.json +8 -4
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
4
4
 
5
5
  ### Unreleased
6
6
 
7
+ ### [2.0.4] - 2026-03-17
8
+
9
+ - deps(all): added ^versions in package.json
10
+ - ci: updated CI configs
11
+ - style: prettier
12
+
7
13
  ### [2.0.3] - 2025-07-01
8
14
 
9
15
  - no-unused-vars": add { "caughtErrorsIgnorePattern": "ignore" }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ 'use strict'
2
2
 
3
3
  module.exports = {
4
4
  env: {
@@ -10,29 +10,29 @@ module.exports = {
10
10
  // es2024: true, /* enable after 2024-04-30, when node 18 LTS ends */
11
11
  },
12
12
  root: true,
13
- extends: ["eslint:recommended"],
13
+ extends: ['eslint:recommended'],
14
14
  globals: {
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",
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
- ecmaVersion: "latest",
27
+ ecmaVersion: 'latest',
28
28
  },
29
29
  rules: {
30
30
  // 0 = off // 1 = warn // 2 = error
31
- "no-empty": ["error", { allowEmptyCatch: true }],
32
- "no-undef": "warn",
33
- "no-console": "off",
34
- "no-constant-condition": ["error", { checkLoops: false }],
35
- "prefer-const": ["error", { ignoreReadBeforeAssign: true }],
36
- "no-unused-vars": ["warn", { caughtErrorsIgnorePattern: "ignore" }],
31
+ 'no-empty': ['error', { allowEmptyCatch: true }],
32
+ 'no-undef': 'warn',
33
+ 'no-console': 'off',
34
+ 'no-constant-condition': ['error', { checkLoops: false }],
35
+ 'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
36
+ 'no-unused-vars': ['warn', { caughtErrorsIgnorePattern: 'ignore' }],
37
37
  },
38
- };
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haraka/eslint-config",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "eslint config for Haraka projects",
5
5
  "keywords": [
6
6
  "haraka",
@@ -37,8 +37,12 @@
37
37
  "homepage": "https://github.com/haraka/haraka-eslint#readme",
38
38
  "devDependencies": {},
39
39
  "peerDependencies": {
40
- "eslint": "9.x",
41
- "@eslint/js": "9.x",
42
- "@eslint/eslintrc": "3.x"
40
+ "eslint": "^9.39.4",
41
+ "@eslint/js": "^9.39.4",
42
+ "@eslint/eslintrc": "^3.3.5"
43
+ },
44
+ "prettier": {
45
+ "singleQuote": true,
46
+ "semi": false
43
47
  }
44
48
  }