Skip to content

Commit

Permalink
[Tests] fix linting; remove parallelshell
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 29, 2016
1 parent 712ec0e commit 271b329
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"extends": "@ljharb",

"rules": {
"max-statements-per-line": [2, { "max": 2 }]
}
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"pretest": "parallelshell 'npm run --silent lint' 'es-shim-api --bound --property'",
"pretest": "npm run --silent lint && es-shim-api --bound --property",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"tests-only": "npm run --silent test:implementation && npm run --silent test:shim",
Expand All @@ -15,7 +15,7 @@
"test:implementation": "node test/index.js",
"coverage": "covert test/*.js",
"coverage:quiet": "covert test/*.js --quiet",
"lint": "parallelshell 'npm run --silent jscs' 'npm run --silent eslint'",
"lint": "npm run --silent jscs && npm run --silent eslint",
"eslint": "eslint *.js test/*.js",
"jscs": "jscs *.js test/*.js",
"build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
Expand Down Expand Up @@ -52,8 +52,7 @@
"eslint": "^3.6.1",
"@ljharb/eslint-config": "^8.0.0",
"@es-shims/api": "^1.2.0",
"for-each": "^0.3.2",
"parallelshell": "^2.0.0"
"for-each": "^0.3.2"
},
"testling": {
"files": "test/index.js",
Expand Down
1 change: 1 addition & 0 deletions test/tests.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* jscs:disable requireUseStrict */
/* eslint strict: 0, max-statements: 0 */

module.exports = function (theGlobal, t) {
Expand Down

0 comments on commit 271b329

Please sign in to comment.