We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 607e820 commit e17e236Copy full SHA for e17e236
eslint.config.js
@@ -1,8 +1,11 @@
1
-module.exports = {
2
- extends: ['eslint:recommended', 'plugin:prettier/recommended'],
3
- env: { es6: true, node: true },
4
- parserOptions: {
5
- ecmaVersion: 8,
6
- sourceType: 'module',
+import { defineConfig } from "eslint/config";
+
+export default defineConfig([
+ {
+ extends: ['eslint:recommended', 'plugin:prettier/recommended'],
+ languageOptions: {
7
+ ecmaVersion: 8,
8
+ sourceType: 'module',
9
+ },
10
},
-};
11
+]);
0 commit comments