Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upgrade eslint to v5 #298

Merged
merged 2 commits into from
Nov 21, 2018
Merged

fix: upgrade eslint to v5 #298

merged 2 commits into from
Nov 21, 2018

Conversation

achingbrain
Copy link
Member

N.b. needs to manually run patterns to lint through the glob module before linting until eslint/eslint#10587 is resolved.

@ghost ghost assigned achingbrain Nov 21, 2018
@ghost ghost added the status/in-progress In progress label Nov 21, 2018
N.b. needs to manually run patterns to lint through the glob module
before linting until eslint/eslint#10587 is resolved.
src/lint.js Outdated
@@ -4,6 +4,8 @@ const CLIEngine = require('eslint').CLIEngine
const path = require('path')
const formatter = CLIEngine.getFormatter()
const userConfig = require('./config/user')
const promisify = require('util').promisify
const glob = promisify(require('glob'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you pls change to https://www.npmjs.com/package/globby which already has a promise api and is based on https://github.com/mrmlnc/fast-glob which is faster than glob

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@hugomrdias hugomrdias merged commit 8a3e9cd into master Nov 21, 2018
@ghost ghost removed the status/in-progress In progress label Nov 21, 2018
@hugomrdias hugomrdias deleted the upgrade-eslint-to-v5 branch November 21, 2018 18:12
@achingbrain
Copy link
Member Author

@hugomrdias thanks for merging - any chance of this being released?

@hugomrdias
Copy link
Member

Sure I'll release it asap. On my phone right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants