Skip to content

Commit ee78799

Browse files
authored
info for react
1 parent 1d162bc commit ee78799

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eslint.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ export default [{ // NullDev-Style ESLint Config: http
1111
sourceType: "module", // prefer ES Modules (doesn't require "use strict")
1212
parserOptions: {
1313
requireConfigFile: false, // make babel not look for config
14-
babelOptions: {
14+
babelOptions: {
15+
presets: [ // If used with React, add "@babel/preset-react" here and do `npm i -D @babel/preset-react`
16+
],
1517
plugins: [ // additional plugins for new ES-proposals such as "@babel/plugin-proposal-class-properties"
1618
],
1719
},

0 commit comments

Comments
 (0)