aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js21
1 files changed, 14 insertions, 7 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 59b4b57..8d0bb6f 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,9 +1,16 @@
module.exports = {
- "env": {
- "browser": true,
- "commonjs": true,
- "es2021": true,
- "node": true
+ extends: "eslint:recommended",
+ rules: {
+ semi: ["error", "always"],
+ quotes: ["error", "double"]
},
- "extends": "eslint:recommended",
-}
+ parserOptions: {
+ ecmaVersion: "latest",
+ },
+ env: {
+ es2021: true,
+ worker: true,
+ browser: true,
+ node: true
+ }
+}; \ No newline at end of file