[Tests] link eslint from the base config as well

This commit is contained in:
Jordan Harband
2018-06-25 15:48:07 -07:00
parent 7dda84a335
commit 2037fd82b9

View File

@@ -11,9 +11,10 @@
"prepublish": "(in-install || eslint-find-rules --unused) && (not-in-publish || npm test) && safe-publish-latest",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"pretravis": "cd ../eslint-config-airbnb-base && npm install && npm link && cd - && npm link --no-save eslint-config-airbnb-base",
"link:eslint": "cd node_modules/eslint && npm link && cd -",
"pretravis": "npm run link:eslint && cd ../eslint-config-airbnb-base && npm link eslint && npm install && npm link && cd - && npm link --no-save eslint-config-airbnb-base",
"travis": "npm run --silent test",
"posttravis": "npm unlink --no-save eslint-config-airbnb-base >/dev/null &"
"posttravis": "npm unlink --no-save eslint-config-airbnb-base eslint >/dev/null &"
},
"repository": {
"type": "git",