Skip to content

Commit f0b6c5e

Browse files
committed
Upgrade eslint to 10.0.0
1 parent 3330823 commit f0b6c5e

3 files changed

Lines changed: 173 additions & 341 deletions

File tree

eslint.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ import stylisticJs from '@stylistic/eslint-plugin';
22

33
import globals from 'globals';
44

5-
import js from "@eslint/js"
5+
import { defineConfig } from 'eslint/config';
66

7-
export default [
8-
js.configs.recommended,
7+
export default defineConfig([
98
{
109
languageOptions: {
1110
ecmaVersion: 'latest',
@@ -139,5 +138,5 @@ export default [
139138
'@stylistic/js/template-curly-spacing': 'error'
140139
}
141140
}
142-
];
141+
]);
143142

0 commit comments

Comments
 (0)