Skip to content

Commit 11154bf

Browse files
renovate[bot]xoxys
andauthored
chore(deps): update dependency eslint to v9 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <[email protected]>
1 parent 977ce26 commit 11154bf

10 files changed

+211
-175
lines changed

.eslintrc.json

-13
This file was deleted.

eslint.config.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import eslint from "@eslint/js";
2+
import globals from "globals";
3+
import babelParser from "@babel/eslint-parser";
4+
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
5+
6+
export default [
7+
eslint.configs.recommended,
8+
{
9+
languageOptions: {
10+
globals: {
11+
...globals.browser,
12+
},
13+
parser: babelParser,
14+
ecmaVersion: 2022,
15+
sourceType: "module",
16+
parserOptions: {
17+
requireConfigFile: false,
18+
},
19+
},
20+
},
21+
eslintPluginPrettierRecommended,
22+
];

0 commit comments

Comments
 (0)