We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e16160a commit 7c5704dCopy full SHA for 7c5704d
3 files changed
eslint.config.js
@@ -2,19 +2,18 @@ import stylisticJs from '@stylistic/eslint-plugin';
2
3
import globals from 'globals';
4
5
-import js from "@eslint/js"
+import { defineConfig } from 'eslint/config';
6
7
-export default [
8
- js.configs.recommended,
+export default defineConfig([
9
{
10
languageOptions: {
11
ecmaVersion: 'latest',
12
sourceType: 'module',
13
globals: {
14
- ...globals.browser,
15
- ...globals.node,
16
- MathJax: 'readonly'
17
- }
+ ...globals.browser,
+ ...globals.node,
+ MathJax: 'readonly'
+ }
18
},
19
plugins: {
20
'@stylistic/js': stylisticJs
@@ -139,5 +138,5 @@ export default [
139
138
'@stylistic/js/template-curly-spacing': 'error'
140
}
141
142
-];
+]);
143
0 commit comments