mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 23:37:55 -05:00
[eslint config] [*] [tests] Only run eslint-find-rules on prepublish, not in tests.
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"tests-only": "babel-tape-runner ./test/test-*.js",
|
||||
"pretest": "eslint-find-rules --unused",
|
||||
"test": "npm run --silent lint && npm run --silent tests-only",
|
||||
"prepublish": "eslint-find-rules --unused && npm test",
|
||||
"pretest": "npm run --silent lint",
|
||||
"test": "npm run --silent tests-only",
|
||||
"travis": "npm run --silent test"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"tests-only": "babel-tape-runner ./test/test-*.js",
|
||||
"pretest": "eslint-find-rules --unused",
|
||||
"test": "npm run --silent lint && npm run --silent tests-only",
|
||||
"prepublish": "eslint-find-rules --unused && npm test",
|
||||
"pretest": "npm run --silent lint",
|
||||
"test": "npm run --silent tests-only",
|
||||
"travis": "cd ../eslint-config-airbnb-base && npm link && cd - && npm link eslint-config-airbnb-base && npm run --silent test ; npm unlink eslint-config-airbnb-base >/dev/null &"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user