Skip to content

Commit

Permalink
[Tests] link eslint from the base config as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 25, 2018
1 parent 7dda84a commit 2037fd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/eslint-config-airbnb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2037fd8

Please sign in to comment.