Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Nov 21, 2024
1 parent 8db5616 commit 3844c66
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
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
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("prettier"), {
export default [
...compat.extends('prettier'),
{
languageOptions: {
globals: {},
},
}];
globals: {}
}
}
];

0 comments on commit 3844c66

Please sign in to comment.