@haraka/eslint-config 1.1.3 → 1.1.5

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 +13 -0
  2. package/index.js +2 -0
  3. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
4
4
 
5
5
  ### Unreleased
6
6
 
7
+ ### [1.1.5] - 2024-04-22
8
+
9
+ - add env.es2022=true
10
+ - remove env.es2023, not supported by all eslint 8 versions
11
+
12
+ ### [1.1.4] - 2024-04-22
13
+
14
+ - doc(CONTRIBUTORS): added
15
+ - add env.es2023=true
16
+ - add rule: no-unused-vars: 1
17
+
7
18
  ### [1.1.3] - 2024-04-07
8
19
 
9
20
  - add env.es2020=true
@@ -100,3 +111,5 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
100
111
  [1.1.0]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.0
101
112
  [1.1.1]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.1
102
113
  [1.1.3]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.3
114
+ [1.1.4]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.4
115
+ [1.1.5]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.5
package/index.js CHANGED
@@ -6,6 +6,8 @@ module.exports = {
6
6
  es6: true,
7
7
  mocha: true,
8
8
  es2022: true,
9
+ // es2023: true, /* enable with mocha 9 */
10
+ // es2024: true, /* enable after 2024-04-30, when node 18 LTS ends */
9
11
  },
10
12
  root: true,
11
13
  extends: ["eslint:recommended"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haraka/eslint-config",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "eslint config for Haraka projects",
5
5
  "keywords": [
6
6
  "haraka",
@@ -16,13 +16,14 @@
16
16
  ],
17
17
  "scripts": {
18
18
  "format": "npm run prettier:fix && npm run lint:fix",
19
+ "format:check": "npm run prettier && npm run lint",
19
20
  "lint": "npx eslint@^8 *.js",
20
21
  "lint:fix": "npx eslint@^8 *.js --fix",
21
22
  "prettier": "npx prettier . --check",
22
23
  "prettier:fix": "npx prettier . --write --log-level=warn",
23
24
  "test": "node index.js",
24
- "versions": "npx @msimerson/dependency-version-checker check",
25
- "versions:fix": "npx @msimerson/dependency-version-checker update"
25
+ "versions": "npx dependency-version-checker check",
26
+ "versions:fix": "npx dependency-version-checker update"
26
27
  },
27
28
  "repository": {
28
29
  "type": "git",