30 lines
469 B
JavaScript
30 lines
469 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
commonjs: true,
|
||
|
es2021: true,
|
||
|
node: true,
|
||
|
},
|
||
|
extends: [
|
||
|
"eslint:recommended",
|
||
|
"plugin:react/recommended",
|
||
|
"plugin:mdx/recommended",
|
||
|
"prettier",
|
||
|
"prettier/react",
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaFeatures: {
|
||
|
jsx: true,
|
||
|
},
|
||
|
ecmaVersion: 2021,
|
||
|
sourceType: "module",
|
||
|
},
|
||
|
plugins: ["react"],
|
||
|
rules: {},
|
||
|
settings: {
|
||
|
react: {
|
||
|
version: "detect",
|
||
|
},
|
||
|
},
|
||
|
};
|