From f45f9a2019d0d399bfbd1d66f2188c0f7472a02e Mon Sep 17 00:00:00 2001 From: shreyas20003 Date: Thu, 28 Sep 2023 09:45:04 +0530 Subject: [PATCH] Add eslint to project --- .eslintrc.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..4e601ec --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,25 @@ +module.exports = { + "env": { + "browser": true, + "es2021": true + }, + "extends": "standard", + "overrides": [ + { + "env": { + "node": true + }, + "files": [ + ".eslintrc.{js,cjs}" + ], + "parserOptions": { + "sourceType": "script" + } + } + ], + "parserOptions": { + "ecmaVersion": "latest" + }, + "rules": { + } +}