Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { defineConfig, globalIgnores } from "eslint/config";
import jest from "eslint-plugin-jest";
import globals from "globals";
import babelParser from "@babel/eslint-parser";
import eslintjs from "@eslint/js";
import github from "eslint-plugin-github";

export default defineConfig([
globalIgnores([
Expand All @@ -16,8 +14,7 @@ export default defineConfig([
eslintjs.configs.recommended,
{
plugins: {
jest,
github
jest
},

languageOptions: {
Expand All @@ -29,19 +26,8 @@ export default defineConfig([
SharedArrayBuffer: "readonly"
},

parser: babelParser,
ecmaVersion: 2023,
sourceType: "module",

parserOptions: {
requireConfigFile: false,

babelOptions: {
babelrc: false,
configFile: false,
presets: ["jest"]
}
}
sourceType: "module"
},

rules: {
Expand All @@ -56,4 +42,4 @@ export default defineConfig([
// "prettier/prettier": "error",
semi: "off"
}
}]);
}]);
Loading
Loading