1
0
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:
Kushagra Gour 2018-02-01 01:40:40 +05:30 committed by GitHub
commit 913efdcfff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1524 additions and 2 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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",