2020-10-26 08:23:16 +11:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
commonjs: true,
|
|
|
|
es2021: true,
|
|
|
|
node: true,
|
|
|
|
},
|
2020-10-26 02:24:27 +11:00
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
2020-10-26 03:59:28 +11:00
|
|
|
"plugin:mdx/recommended",
|
2020-10-26 02:24:27 +11:00
|
|
|
"prettier",
|
|
|
|
],
|
2020-10-26 08:23:16 +11:00
|
|
|
parserOptions: {
|
|
|
|
ecmaFeatures: {
|
|
|
|
jsx: true,
|
|
|
|
},
|
|
|
|
ecmaVersion: 2021,
|
|
|
|
sourceType: "module",
|
|
|
|
},
|
|
|
|
plugins: ["react"],
|
|
|
|
rules: {},
|
|
|
|
settings: {
|
|
|
|
react: {
|
|
|
|
version: "detect",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|