1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-31 00:40:13 +02:00

eslint fixes

This commit is contained in:
Kushagra Gour
2018-06-22 20:19:19 +05:30
parent 2b8e773e03
commit 0eec8bec91
10 changed files with 156 additions and 97 deletions

View File

@@ -7,7 +7,7 @@
"build": "preact build --template src/index.html --no-prerender",
"serve": "preact build && preact serve",
"dev": "preact watch --template src/index.html --https --no-prerender",
"lint": "eslint src/*.js src/components/*.jsx",
"lint": "eslint src",
"test": "jest ./tests",
"precommit": "lint-staged"
},
@@ -15,7 +15,10 @@
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*"
"build/*",
"src/lib/",
"src/tests/",
"src/CodeMirror.js"
],
"lint-staged": {
"*.{js,jsx,json,css,md}": [