summaryrefslogtreecommitdiff
path: root/client/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/.eslintrc.js')
-rw-r--r--client/.eslintrc.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/client/.eslintrc.js b/client/.eslintrc.js
new file mode 100644
index 0000000..d85199d
--- /dev/null
+++ b/client/.eslintrc.js
@@ -0,0 +1,19 @@
+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',
+ 'indent': 'off'
+ }
+}