Skip to content

Commit d8e66ab

Browse files
chore(deps): update dependency eslint to v9 (#43)
* chore(deps): update dependency eslint to v9 * chore(deps): migrate to eslint v9 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: koyashiro <[email protected]>
1 parent 975a9ee commit d8e66ab

File tree

5 files changed

+251
-333
lines changed

5 files changed

+251
-333
lines changed

Diff for: .eslintignore

-1
This file was deleted.

Diff for: .eslintrc.cjs

-30
This file was deleted.

Diff for: eslint.config.mjs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import eslintConfigPrettier from "eslint-config-prettier";
5+
6+
/** @type {import("eslint").Linter.Config[]} */
7+
export default [
8+
{ files: ["**/*.{js,mjs,cjs,ts}"] },
9+
{ ignores: ["dist/"] },
10+
{ languageOptions: { globals: globals.node } },
11+
pluginJs.configs.recommended,
12+
...tseslint.configs.recommended,
13+
eslintConfigPrettier,
14+
];

0 commit comments

Comments
 (0)