mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-06 01:24:52 +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 eslint
|
||||||
- npm install -g babel-eslint
|
- npm install -g babel-eslint
|
||||||
script:
|
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"
|
"prettier": "^1.5.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user