We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9ad13 commit 55f453bCopy full SHA for 55f453b
examples/vite-react-dom-js-with-babel-app/eslint.config.js
@@ -2,6 +2,7 @@ import js from "@eslint/js";
2
import react from "@eslint-react/eslint-plugin";
3
import reactHooks from "eslint-plugin-react-hooks";
4
import reactRefresh from "eslint-plugin-react-refresh";
5
+import parser from "@babel/eslint-parser";
6
import globals from "globals";
7
8
import JSCONFIG from "./jsconfig.json" with { type: "json" };
@@ -14,9 +15,13 @@ export default [
14
15
globals: {
16
...globals.browser,
17
},
18
+ parser,
19
parserOptions: {
- ecmaFeatures: {
- jsx: true,
20
+ requireConfigFile: false,
21
+ babelOptions: {
22
+ babelrc: false,
23
+ configFile: false,
24
+ presets: ["@babel/preset-env", "@babel/preset-react"],
25
26
27
0 commit comments