aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/.eslintrc.js
blob: f29e73d22d313a5edad7746a73899cde94be7cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
  env: {
    browser: true,
    commonjs: true,
    es2021: true,
    node: true,
  },
  extends: [
    "eslint:recommended",
    "plugin:react/recommended",
    "plugin:react/jsx-runtime",
    "plugin:mdx/recommended",
    "prettier",
  ],
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
    ecmaVersion: 2021,
    sourceType: "module",
  },
  plugins: ["react"],
  rules: { "react/no-unescaped-entities": "off" },
  settings: {
    react: {
      version: "detect",
    },
  },
};