From ca7c449410d139e751803526d772c3ed400e143d Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 5 May 2024 14:56:23 +0300 Subject: [PATCH] Add eslintrc.js --- .eslintrc.js | 17 +++++++++++++++++ package.json | 1 + 2 files changed, 18 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..92b3fea --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,17 @@ +module.exports = { + "env": { + "browser": true, + "es6": true + }, + "extends": "eslint:recommended", + "globals": { + "Atomics": "readonly", + "SharedArrayBuffer": "readonly" + }, + "parserOptions": { + "ecmaVersion": 14, + "sourceType": "module" + }, + "rules": { + } +}; diff --git a/package.json b/package.json index 082b994..47a8c57 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "license": "ISC", "devDependencies": { "copy-webpack-plugin": "^12.0.2", + "eslint": "^9.2.0", "webpack": "^5.91.0", "webpack-cli": "^5.1.4" },