diff --git a/.codeclimate.yml b/.codeclimate.yml
index d657c7a..0be948c 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -1,9 +1,9 @@
engines:
eslint:
enabled: true
- channel: 'eslint-8'
+ channel: 'eslint-9'
config:
- config: '.eslintrc.yaml'
+ config: 'eslint.config.mjs'
checks:
method-complexity:
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
deleted file mode 100644
index 7be5db7..0000000
--- a/.eslintrc.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-env:
- node: true
- es6: true
- mocha: true
- es2023: true
-
-extends: ['@haraka']
diff --git a/.release b/.release
index 0fa4e69..0bf2a09 160000
--- a/.release
+++ b/.release
@@ -1 +1 @@
-Subproject commit 0fa4e690ffabb0157e46d56f18e4f7cfe49ce291
+Subproject commit 0bf2a098d4792848c2103dfce0f911e00a14709e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6ef84ed..4cad7a8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
### Unreleased
+### [1.1.1] - 2025-01-13
+
+- dep(eslint): upgrade to v9
+
### [1.1.0] - 2024-05-03
- set: added 'default' mode. See docs. #
@@ -47,3 +51,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
[1.0.6]: https://github.com/haraka/haraka-notes/releases/tag/1.0.6
[1.0.7]: https://github.com/haraka/haraka-notes/releases/tag/v1.0.7
[1.1.0]: https://github.com/haraka/haraka-notes/releases/tag/v1.1.0
+[1.1.1]: https://github.com/haraka/haraka-notes/releases/tag/v1.1.1
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 0a6d322..cb9723c 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -2,7 +2,8 @@
This handcrafted artisinal software is brought to you by:
-|
msimerson (23)|
-| :---: |
+|
msimerson (24) |
+| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
-this file is maintained by [.release](https://github.com/msimerson/.release)
+this file is generated by [.release](https://github.com/msimerson/.release).
+Contribute to this project to get your GitHub profile included here.
diff --git a/README.md b/README.md
index 7436d63..bf8f159 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
[![Build Status][ci-img]][ci-url]
[![Code Climate][clim-img]][clim-url]
[![Code Coverage][cov-img]][cov-url]
-[![NPM][npm-img]][npm-url]
# haraka-notes
@@ -59,5 +58,3 @@ To reduce the likelihood of namespace collisions in Haraka notes, consider regis
[cov-url]: https://codecov.io/github/haraka/haraka-notes
[clim-img]: https://codeclimate.com/github/haraka/haraka-notes/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/haraka-notes
-[npm-img]: https://nodei.co/npm/haraka-notes.png
-[npm-url]: https://www.npmjs.com/package/haraka-notes
diff --git a/eslint.config.mjs b/eslint.config.mjs
new file mode 100644
index 0000000..cd75fea
--- /dev/null
+++ b/eslint.config.mjs
@@ -0,0 +1,25 @@
+import globals from 'globals'
+import path from 'node:path'
+import { fileURLToPath } from 'node:url'
+import js from '@eslint/js'
+import { FlatCompat } from '@eslint/eslintrc'
+
+const __filename = fileURLToPath(import.meta.url)
+const __dirname = path.dirname(__filename)
+const compat = new FlatCompat({
+ baseDirectory: __dirname,
+ recommendedConfig: js.configs.recommended,
+ allConfig: js.configs.all,
+})
+
+export default [
+ ...compat.extends('@haraka'),
+ {
+ languageOptions: {
+ globals: {
+ ...globals.node,
+ ...globals.mocha,
+ },
+ },
+ },
+]
diff --git a/package.json b/package.json
index 5418450..89c6708 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "haraka-notes",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Haraka Notes",
"main": "index.js",
"files": [
@@ -8,8 +8,8 @@
],
"scripts": {
"format": "npm run prettier:fix && npm run lint:fix",
- "lint": "npx eslint@^8 *.js test",
- "lint:fix": "npx eslint@^8 *.js test --fix",
+ "lint": "npx eslint *.js test",
+ "lint:fix": "npx eslint *.js test --fix",
"prettier": "npx prettier . --check",
"prettier:fix": "npx prettier . --write --log-level=warn",
"test": "npx mocha@10",
@@ -31,6 +31,6 @@
},
"homepage": "https://github.com/haraka/haraka-notes#readme",
"devDependencies": {
- "@haraka/eslint-config": "^1.1.3"
+ "@haraka/eslint-config": "^2.0.2"
}
}