Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Jan 30, 2025
1 parent a8ceabe commit c56440c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

### [1.0.1] - 2025-01-30

-
-

### [1.0.0] - 2024-05-08

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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-esets/commits?author=msimerson">1</a>)|
| :---: |
| <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-esets/commits?author=msimerson">1</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>
37 changes: 20 additions & 17 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,22 +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";
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 __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
})

export default [...compat.extends("@haraka"), {
export default [
...compat.extends('@haraka'),
{
languageOptions: {
globals: {
...globals.node,
...globals.mocha,
},
globals: {
...globals.node,
...globals.mocha,
},
},
}];
},
]
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
},
"homepage": "https://github.com/haraka/haraka-plugin-esets#readme",
"devDependencies": {
"@haraka/eslint-config": "2.0.2",
"@haraka/eslint-config": "^2.0.2",
"haraka-test-fixtures": "1.3.5"
},
"prettier": {
"singleQuote": true,
"semi": false
}
}

0 comments on commit c56440c

Please sign in to comment.