Skip to content

Commit

Permalink
chore: upgrade dependencies (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin authored Sep 28, 2024
1 parent cff01ca commit f171f9c
Show file tree
Hide file tree
Showing 4 changed files with 577 additions and 695 deletions.
43 changes: 43 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
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
});

export default [{
ignores: ["**/bin/", "**/test/"],
}, ...compat.extends(
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
), {
plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
globals: {
...globals.node,
},

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

settings: {
files: ["source/**/*.ts"],
},

rules: {},
}];
Loading

0 comments on commit f171f9c

Please sign in to comment.