mirror of
https://github.com/chinchang/web-maker.git
synced 2025-05-25 19:49:41 +02:00
Merge pull request #245 from iamandrewluca/npm-eslint-fixes
Keep Lock files, use local eslint
This commit is contained in:
commit
913efdcfff
@ -5,4 +5,4 @@ install:
|
||||
- npm install -g eslint
|
||||
- npm install -g babel-eslint
|
||||
script:
|
||||
- eslint src/*.js
|
||||
- npm run lint
|
||||
|
1521
package-lock.json
generated
Normal file
1521
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,8 @@
|
||||
"prettier": "^1.5.2"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "ln -sf ../../git-hooks/pre-commit .git/hooks/pre-commit"
|
||||
"install": "ln -sf ../../git-hooks/pre-commit .git/hooks/pre-commit",
|
||||
"lint": "eslint src/*.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
x
Reference in New Issue
Block a user