@haraka/eslint-config 1.1.4 → 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.
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
+ ### [1.1.5] - 2024-04-22
8
+
9
+ - add env.es2022=true
10
+ - remove env.es2023, not supported by all eslint 8 versions
11
+
7
12
  ### [1.1.4] - 2024-04-22
8
13
 
9
14
  - doc(CONTRIBUTORS): added
@@ -107,3 +112,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
107
112
  [1.1.1]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.1
108
113
  [1.1.3]: https://github.com/haraka/haraka-eslint/releases/tag/v1.1.3
109
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
@@ -5,7 +5,8 @@ module.exports = {
5
5
  node: true,
6
6
  es6: true,
7
7
  mocha: true,
8
- es2023: true,
8
+ es2022: true,
9
+ // es2023: true, /* enable with mocha 9 */
9
10
  // es2024: true, /* enable after 2024-04-30, when node 18 LTS ends */
10
11
  },
11
12
  root: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haraka/eslint-config",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "eslint config for Haraka projects",
5
5
  "keywords": [
6
6
  "haraka",
@@ -16,6 +16,7 @@
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",