From 83f0473247b60b33646439da95b7b01c444c4248 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sun, 26 Jan 2025 19:58:43 -0800 Subject: [PATCH] chore: format --- CONTRIBUTORS.md | 4 ++-- eslint.config.mjs | 41 ++++++++++++++++++++++------------------- package.json | 2 +- 3 files changed, 25 insertions(+), 22 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 768cfc6..412c3ff 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,8 +2,8 @@ This handcrafted artisinal software is brought to you by: -|
msimerson (9)|
offroadlabs (1)| -| :---: | :---: | +|
msimerson (9) |
offroadlabs (1) | +| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | 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/eslint.config.mjs b/eslint.config.mjs index ca3f00a..52a5848 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,25 +1,28 @@ -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, + }, }, rules: { - 'no-unused-vars': ['warn', { caughtErrorsIgnorePattern: '^ignore' }], - } -}]; \ No newline at end of file + 'no-unused-vars': ['warn', { caughtErrorsIgnorePattern: '^ignore' }], + }, + }, +] diff --git a/package.json b/package.json index a55b0ad..1a73b7d 100644 --- a/package.json +++ b/package.json @@ -56,4 +56,4 @@ "singleQuote": true, "semi": false } -} \ No newline at end of file +}