From 9dfc10b2bd00cde2a022a8cc3226a4b4f013a366 Mon Sep 17 00:00:00 2001 From: Brian Cavalier Date: Fri, 21 Oct 2016 05:43:34 -0400 Subject: [PATCH] Update deps, fix lint --- .eslintrc | 4 ++-- package.json | 18 +++++++++--------- src/delay.js | 2 +- src/emitError.js | 2 +- src/env.js | 2 +- src/iterable.js | 2 +- src/state.js | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.eslintrc b/.eslintrc index 253317c..3dc8c56 100644 --- a/.eslintrc +++ b/.eslintrc @@ -8,7 +8,7 @@ }, "rules": { "complexity": [2, 3], - "indent": [2, "tab", {SwitchCase: 1}], - "arrow-parens": [2, "as-needed"] + "indent": [2, "tab", {"SwitchCase": 1}], + "no-tabs": 0 } } diff --git a/package.json b/package.json index 26e18e8..678437d 100644 --- a/package.json +++ b/package.json @@ -40,20 +40,20 @@ "devDependencies": { "assert": "^1.3.0", "babel-eslint": "^7.0.0", - "buba": "3.0.1", + "buba": "^4.0.1", "buble": "^0.14.0", - "coveralls": "^2.11.4", - "eslint": "^3.0.1", - "eslint-config-standard": "^5.3.5", - "eslint-plugin-promise": "^2.0.0", - "eslint-plugin-standard": "^2.0.0", + "coveralls": "^2.11.14", + "eslint": "^3.8.1", + "eslint-config-standard": "^6.2.0", + "eslint-plugin-promise": "^3.3.0", + "eslint-plugin-standard": "^2.0.1", "istanbul": "^1.1.0-alpha.1", "jsinspect": "^0.8.0", "mkdirp": "^0.5.1", - "mocha": "3.1.0", + "mocha": "^3.1.2", "promises-aplus-tests": "^2.1.1", - "rollup": "^0.36.0", + "rollup": "^0.36.3", "rollup-plugin-buble": "^0.14.0", - "uglify-js": "^2.6.4" + "uglify-js": "^2.7.3" } } diff --git a/src/delay.js b/src/delay.js index cef6765..6fb8884 100644 --- a/src/delay.js +++ b/src/delay.js @@ -12,7 +12,7 @@ class Delay extends Action { } fulfilled (p) { - /*global setTimeout*/ + /* global setTimeout */ setTimeout(become, this.time, p, this.promise) } } diff --git a/src/emitError.js b/src/emitError.js index 9542313..35e5298 100644 --- a/src/emitError.js +++ b/src/emitError.js @@ -3,7 +3,7 @@ import { isNode } from './env' const UNHANDLED_REJECTION = 'unhandledRejection' export default function () { - /*global process, self, CustomEvent*/ + /* global process, self, CustomEvent */ // istanbul ignore else */ if (isNode && typeof process.emit === 'function') { // Returning falsy here means to call the default reportRejection API. diff --git a/src/env.js b/src/env.js index 7a28a40..e153d68 100644 --- a/src/env.js +++ b/src/env.js @@ -1,4 +1,4 @@ -/*global process,MutationObserver,WebKitMutationObserver */ +/* global process,MutationObserver,WebKitMutationObserver */ const isNode = typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]' diff --git a/src/iterable.js b/src/iterable.js index a9d3c8b..0dce636 100644 --- a/src/iterable.js +++ b/src/iterable.js @@ -42,7 +42,7 @@ function runIterable (resolve, handler, promises, promise) { } function handleItem (resolve, handler, x, i, promise) { - /*eslint complexity:[1,6]*/ + /* eslint complexity:[1,6] */ if (!maybeThenable(x)) { handler.valueAt(x, i, promise) return diff --git a/src/state.js b/src/state.js index b932693..169b226 100644 --- a/src/state.js +++ b/src/state.js @@ -1,4 +1,4 @@ -/*eslint no-multi-spaces: 0*/ +/* eslint no-multi-spaces: 0 */ export const PENDING = 1 << 0 export const FULFILLED = 1 << 1 export const REJECTED = 1 << 2