Skip to content

Commit

Permalink
chore: update ESLint configs (#46)
Browse files Browse the repository at this point in the history
koralle authored Sep 9, 2024
1 parent c30a4e7 commit 5f8bfc5
Showing 3 changed files with 94 additions and 106 deletions.
7 changes: 1 addition & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -8,8 +8,6 @@ import globals from "globals"
import pluginImport from "eslint-plugin-import"
import pluginVitest from "@vitest/eslint-plugin"
import { fixupPluginRules } from "@eslint/compat"
import { fileURLToPath } from "node:url"
import { dirname, resolve } from "node:path"

export default tseslintConfig(
{
@@ -18,10 +16,7 @@ export default tseslintConfig(
languageOptions: {
parser: tseslintParser,
parserOptions: {
project: resolve(
dirname(fileURLToPath(import.meta.url)),
"./tsconfig.json",
),
project: true,
ecmaVersion: "latest",
sourceType: "module",
warnOnUnsupportedTypeScriptVersion: true,
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@
"pretty-format": "^28.1.3",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"typescript-eslint": "^7.16.1",
"typescript-eslint": "^8.4.0",
"vitest": "^2.0.5"
},
"peerDependencies": {
Loading

0 comments on commit 5f8bfc5

Please sign in to comment.