Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
reckseba committed Oct 28, 2024
1 parent 3f4003a commit fa9d800
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import { includeIgnoreFile } from "@eslint/compat"
import js from "@eslint/js"
import globals from "globals";
import globals from "globals"
import { fileURLToPath, URL } from "node:url"
import jest from "eslint-plugin-jest";
import jest from "eslint-plugin-jest"

export default [
includeIgnoreFile(fileURLToPath(new URL(".gitignore", import.meta.url))),
includeIgnoreFile(fileURLToPath(new URL(".gitignore", import.meta.url))),

// Basic rules
js.configs.recommended,
// Basic rules
js.configs.recommended,

{
files: ["**/*.js"],
{
files: ["**/*.js"],

languageOptions: {
globals: { ...globals.node },
ecmaVersion: 2022,
sourceType: "module",
},
languageOptions: {
globals: { ...globals.node },
ecmaVersion: 2022,
sourceType: "module",
},
{
languageOptions: {
globals: { ...globals.jest }
},
files: ['test/*.test.js'],
...jest.configs['flat/recommended'],
rules: {
...jest.configs['flat/recommended'].rules
}
}
];
},
{
languageOptions: {
globals: { ...globals.jest },
},
files: ["test/*.test.js"],
...jest.configs["flat/recommended"],
rules: {
...jest.configs["flat/recommended"].rules,
},
},
]

0 comments on commit fa9d800

Please sign in to comment.