@haraka/eslint-config 3.0.0 → 3.0.1
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 +6 -0
- package/README.md +6 -10
- package/package.json +4 -2
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
|
+
### [3.0.1] - 2026-11-21
|
|
8
|
+
|
|
9
|
+
- packaging / meta updates (#42)
|
|
10
|
+
- deps: bump globals version
|
|
11
|
+
|
|
7
12
|
### [3.0.0] - 2026-05-24
|
|
8
13
|
|
|
9
14
|
- BREAKING: depend on eslint 10
|
|
@@ -154,3 +159,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
|
|
|
154
159
|
[2.0.3]: https://github.com/haraka/haraka-eslint/releases/tag/v2.0.3
|
|
155
160
|
[2.0.4]: https://github.com/haraka/haraka-eslint/releases/tag/v2.0.4
|
|
156
161
|
[3.0.0]: https://github.com/haraka/haraka-eslint/releases/tag/v3.0.0
|
|
162
|
+
[3.0.1]: https://github.com/haraka/haraka-eslint/releases/tag/v3.0.1
|
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# haraka-eslint
|
|
2
2
|
|
|
3
|
-
[![Build
|
|
4
|
-
[![Code Climate][clim-img]][clim-url]
|
|
3
|
+
[![Build][ci-img]][ci-url] [![Cover][cov-img]][cov-url] [![Qlty][qlty-img]][qlty-url]
|
|
5
4
|
|
|
6
5
|
## Install
|
|
7
6
|
|
|
@@ -56,12 +55,7 @@ with:
|
|
|
56
55
|
```js
|
|
57
56
|
// after
|
|
58
57
|
import haraka from '@haraka/eslint-config'
|
|
59
|
-
export default [
|
|
60
|
-
...haraka,
|
|
61
|
-
{
|
|
62
|
-
/* overrides */
|
|
63
|
-
},
|
|
64
|
-
]
|
|
58
|
+
export default [...haraka, {/* overrides */}]
|
|
65
59
|
```
|
|
66
60
|
|
|
67
61
|
Peer dependency is now `eslint@^10`.
|
|
@@ -81,5 +75,7 @@ Custom rules can be added directly in the consumer's `eslint.config.mjs`.
|
|
|
81
75
|
|
|
82
76
|
[ci-img]: https://github.com/haraka/haraka-eslint/actions/workflows/ci.yml/badge.svg
|
|
83
77
|
[ci-url]: https://github.com/haraka/haraka-eslint/actions/workflows/ci.yml
|
|
84
|
-
[
|
|
85
|
-
[
|
|
78
|
+
[cov-img]: https://codecov.io/github/haraka/haraka-eslint/coverage.svg
|
|
79
|
+
[cov-url]: https://codecov.io/github/haraka/haraka-eslint
|
|
80
|
+
[qlty-img]: https://qlty.sh/gh/haraka/projects/haraka-eslint/maintainability.svg
|
|
81
|
+
[qlty-url]: https://qlty.sh/gh/haraka/projects/haraka-eslint
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haraka/eslint-config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "eslint config for Haraka projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"haraka",
|
|
@@ -16,12 +16,14 @@
|
|
|
16
16
|
"rules"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
+
"prepare": "git rev-parse --git-dir >/dev/null 2>&1 && git config core.hooksPath .githooks || true",
|
|
19
20
|
"format": "npm run prettier:fix && npm run lint:fix",
|
|
20
21
|
"format:check": "npm run prettier && npm run lint",
|
|
21
22
|
"lint": "npx eslint *.js",
|
|
22
23
|
"lint:fix": "npx eslint *.js --fix",
|
|
23
24
|
"prettier": "npx prettier . --check",
|
|
24
25
|
"prettier:fix": "npx prettier . --write --log-level=warn",
|
|
26
|
+
"qlty": "qlty smells --all",
|
|
25
27
|
"test": "node index.js",
|
|
26
28
|
"test:coverage": "npx c8 --reporter=text --reporter=text-summary npm test",
|
|
27
29
|
"versions": "npx npm-dep-mgr check",
|
|
@@ -39,7 +41,7 @@
|
|
|
39
41
|
"homepage": "https://github.com/haraka/haraka-eslint#readme",
|
|
40
42
|
"dependencies": {
|
|
41
43
|
"@eslint/js": "^10.0.1",
|
|
42
|
-
"globals": "^17.
|
|
44
|
+
"globals": "^17.14.0"
|
|
43
45
|
},
|
|
44
46
|
"peerDependencies": {
|
|
45
47
|
"eslint": "^10.0.0"
|