summaryrefslogtreecommitdiff
path: root/docs/.eslintrc.js
diff options
context:
space:
mode:
authorCarey <kcarey1@APC02S226SG8WM.local>2020-10-28 07:40:54 -0500
committerCarey <kcarey1@APC02S226SG8WM.local>2020-10-28 07:40:54 -0500
commit99ad9cbdefee94007511ec2e53437951cf0e4305 (patch)
tree168c9886965ad5e5f36f4fbbad55cd5f70c5124e /docs/.eslintrc.js
parent6aae66782682ffcabf953d785308b83ee16fc3b6 (diff)
parentcb922fd8a2a3eddcbece040ca3727d43b171ffe3 (diff)
Merge https://github.com/zmkfirmware/zmk into refactor_kconfig
Diffstat (limited to 'docs/.eslintrc.js')
-rw-r--r--docs/.eslintrc.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/.eslintrc.js b/docs/.eslintrc.js
new file mode 100644
index 0000000..e1ef030
--- /dev/null
+++ b/docs/.eslintrc.js
@@ -0,0 +1,29 @@
+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",
+ },
+ },
+};