Skip to content

Commit

Permalink
Release v1.0.1 (#1)
Browse files Browse the repository at this point in the history
- dep(eslint): update to v9
  • Loading branch information
msimerson authored Jan 10, 2025
1 parent 0756523 commit 1b0e3b0
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
engines:
eslint:
enabled: true
channel: 'eslint-8'
channel: 'eslint-9'
config:
config: '.eslintrc.yaml'
config: 'eslint.config.mjs'

ratings:
paths:
Expand Down
7 changes: 0 additions & 7 deletions .eslintrc.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .release
Submodule .release updated 7 files
+3 −0 CHANGELOG.md
+13 −3 README.md
+8 −0 base.sh
+85 −0 contributors.js
+8 −1 finish.sh
+36 −5 start.sh
+29 −17 submit.sh
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

### [1.0.1] - 2025-01-09

- dep(eslint): update to v9

### [1.0.0] - 2024-05-07

- repackaged from haraka/Haraka

[1.0.0]: https://github.com/haraka/haraka-plugin-template/releases/tag/1.0.0
[1.0.1]: https://github.com/haraka/haraka-plugin-spamassassin/releases/tag/v1.0.1
9 changes: 9 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Contributors

This handcrafted artisinal software is brought to you by:

| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-plugin-spamassassin/commits?author=msimerson">2</a>) |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

<sub>this file is generated by [.release](https://github.com/msimerson/.release).
Contribute to this project to get your GitHub profile included here.</sub>
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[![CI Test Status][ci-img]][ci-url]
[![Code Climate][clim-img]][clim-url]

[![NPM][npm-img]][npm-url]

# haraka-plugin-spamassassin

This plugin implements the spamd protocol and will send messages to spamd for scoring.
Expand Down Expand Up @@ -188,5 +186,3 @@ Other headers options you might find interesting or useful are:
[ci-url]: https://github.com/haraka/haraka-plugin-spamassassin/actions/workflows/ci.yml
[clim-img]: https://codeclimate.com/github/haraka/haraka-plugin-spamassassin/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/haraka-plugin-spamassassin
[npm-img]: https://nodei.co/npm/haraka-plugin-spamassassin.png
[npm-url]: https://www.npmjs.com/package/haraka-plugin-spamassassin
25 changes: 25 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -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,
},
},
},
]
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "haraka-plugin-spamassassin",
"version": "1.0.0",
"description": "Haraka plugin that...CHANGE THIS",
"version": "1.0.1",
"description": "Haraka plugin that scans messages with SpamAssassin",
"main": "index.js",
"files": [
"CHANGELOG.md",
"config"
],
"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": "node --test",
Expand All @@ -33,12 +33,12 @@
},
"homepage": "https://github.com/haraka/haraka-plugin-spamassassin#readme",
"dependencies": {
"haraka-net-utils": "^1.7.0",
"haraka-net-utils": "^1.7.1",
"haraka-utils": "^1.1.3"
},
"devDependencies": {
"@haraka/eslint-config": "1.1.3",
"@haraka/eslint-config": "2.0.2",
"address-rfc2821": "^2.1.2",
"haraka-test-fixtures": "1.3.5"
"haraka-test-fixtures": "1.3.8"
}
}

0 comments on commit 1b0e3b0

Please sign in to comment.