Skip to content

Commit

Permalink
Setup eslint with the helper tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nachtjasmin committed Jun 21, 2023
1 parent 8be9fde commit fa0cb05
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 21 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: ["eslint:recommended"],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {},
};
175 changes: 155 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
"watch:scripts": "node scripts/watch.mjs",
"watch:webext": "web-ext run --keep-profile-changes --profile-create-if-missing --firefox-profile=.firefox-profile/",
"format": "prettier --write --ignore-path .gitignore .",
"package": "run-s -l build:**"
"package": "run-s -l build:**",
"lint": "eslint ."
},
"devDependencies": {
"@sprout2000/esbuild-copy-plugin": "1.1.8",
"esbuild": "0.17.19",
"eslint": "^8.42.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"web-ext": "^7.6.2"
Expand Down

0 comments on commit fa0cb05

Please sign in to comment.