summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..5abad38
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,18 @@
+module.exports = {
+ env: {
+ browser: true,
+ es2021: true
+ },
+ extends: ['plugin:react/recommended', 'standard'],
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true
+ },
+ ecmaVersion: 'latest',
+ sourceType: 'module'
+ },
+ plugins: ['react'],
+ rules: {
+ 'react/prop-types': 'off'
+ }
+}