Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Update eslint-config-airbnb-base to version 11.0.0 🚀 (#306)
Browse files Browse the repository at this point in the history
* chore(package): update eslint-config-airbnb-base to version 11.0.0

https://greenkeeper.io/

* chore(package): update eslint to version 3.12.0

https://greenkeeper.io/

* Update eslint-plugin-import to v2.2.0

New minimum version to satisfy the peerDependencies of
eslint-config-airbnb-base.

* Don't await in a loop

Fix the only lint issue from this update by moving the resolution of the
invalid trace promise to the very end, out of the loop.
  • Loading branch information
greenkeeper[bot] authored and Arcanemagus committed Dec 12, 2016
1 parent 1d503fb commit 82d9d11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,14 @@ export default {
});
} catch (point) {
// rangeFromLineNumber encountered an invalid point
messages.push(await generateInvalidPointTrace(
messages.push(generateInvalidPointTrace(
execPath, match, filePath, textEditor, point));
}

match = parseRegex.exec(result.stdout);
}
return messages;
// Ensure that any invalid point messages have finished resolving
return Promise.all(messages);
},
};
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
"fs-plus": "^2.9.3"
},
"devDependencies": {
"eslint": "^3.9.1",
"eslint-config-airbnb-base": "^10.0.0",
"eslint-plugin-import": "^2.1.0"
"eslint": "^3.12.0",
"eslint-config-airbnb-base": "^11.0.0",
"eslint-plugin-import": "^2.2.0"
},
"package-deps": [
"linter"
Expand Down

0 comments on commit 82d9d11

Please sign in to comment.