Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Update eslintrc and npm watch target
Browse files Browse the repository at this point in the history
Change eslint semicolon and shadow variable rules.

Add no-cache Parcel option to the watch target.
  • Loading branch information
francium committed Sep 4, 2018
1 parent 437c388 commit 8951f64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
"no-script-url": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-shadow": "error",
"no-shadow": "off",
"no-shadow-restricted-names": "error",
"no-spaced-func": "off",
"no-sync": "error",
Expand Down Expand Up @@ -238,7 +238,7 @@
"require-jsdoc": "off",
"require-unicode-regexp": "error",
"rest-spread-spacing": "error",
"semi": "off",
"semi": ["error", "never"],
"semi-spacing": "error",
"semi-style": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"eslint": "^5.5.0"
},
"scripts": {
"watch": "parcel watch -d zoidboard/static/ -o bundle.js --public-url '/static' ui/main.js",
"watch": "parcel watch --no-cache -d zoidboard/static/ -o bundle.js --public-url '/static' ui/main.js",
"lint": "eslint ui"
},
"repository": {
Expand Down

0 comments on commit 8951f64

Please sign in to comment.