Skip to content

Commit 9827246

Browse files
committed
updated eslint
1 parent 415083e commit 9827246

File tree

5 files changed

+417
-5951
lines changed

5 files changed

+417
-5951
lines changed

.eslintrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import globals from "globals";
2+
import tseslint from "typescript-eslint";
3+
4+
5+
/** @type {import('eslint').Linter.Config[]} */
6+
export default [
7+
{files: ["**/*.{js,mjs,cjs,ts}"]},
8+
{files: ["**/*.js"], languageOptions: {sourceType: "script"}},
9+
{languageOptions: { globals: globals.node }},
10+
...tseslint.configs.recommended,
11+
{
12+
rules: {
13+
"@typescript-eslint/no-explicit-any": "off"
14+
}
15+
}
16+
];

0 commit comments

Comments
 (0)