diff --git a/.eslintrc.js b/.eslintrc.js index 3a9f72e..5044b0a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,35 +1,40 @@ module.exports = { env: { browser: true, es2021: true, jquery: true }, extends: [ 'standard', 'plugin:react/recommended' ], overrides: [ { env: { node: true }, files: [ '.eslintrc.{js,cjs}' ], parserOptions: { sourceType: 'script' } } ], parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, plugins: [ 'react' ], rules: { "react/react-in-jsx-scope": "off", "react/jsx-uses-react": "off", + }, + settings: { + react: { + version: "18.2" + } } }