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:
@@ -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}": [
|
||||
|
Reference in New Issue
Block a user