Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
dkphm committed Nov 27, 2024
1 parent df94649 commit ac73bd6
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,28 @@ 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 [{
export default [
{
ignores: ["**/dist/"],
}, ...compat.extends("eslint:recommended"), {
},
...compat.extends("eslint:recommended"),
{
languageOptions: {
globals: {
...globals.commonjs,
...globals.jest,
...globals.node,
},
globals: {
...globals.commonjs,
...globals.jest,
...globals.node,
},

ecmaVersion: 2021,
sourceType: "module",
ecmaVersion: 2021,
sourceType: "module",
},

rules: {},
}];
},
];

0 comments on commit ac73bd6

Please sign in to comment.