Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

[Feature request] Support Eslint version 6 #272

Closed
jimblue opened this issue Jun 22, 2019 · 16 comments
Closed

[Feature request] Support Eslint version 6 #272

jimblue opened this issue Jun 22, 2019 · 16 comments

Comments

@jimblue
Copy link

jimblue commented Jun 22, 2019

Hi,

ESlint 6 have been release, could you please add it to the peerDependencies, thank you.

"eslint": ">=1.6.0 <6.0.0",

@milewski
Copy link

It looks like this loader breaks with eslint 6...

@jimblue
Copy link
Author

jimblue commented Jun 23, 2019

Indeed I've just try. Renaming this issue to support ESlint 6

@jimblue jimblue changed the title Add Eslint 6 in peerDependencies [Feature request] Support Eslint version 6 Jun 23, 2019
AllenBW added a commit to AllenBW/insights-advisor-frontend that referenced this issue Jun 24, 2019
AllenBW added a commit to RedHatInsights/insights-advisor-frontend that referenced this issue Jun 24, 2019
ryelo pushed a commit to RedHatInsights/insights-advisor-frontend-build that referenced this issue Jun 24, 2019
ryelo pushed a commit to RedHatInsights/insights-advisor-frontend-build that referenced this issue Jun 24, 2019
ryelo pushed a commit to RedHatInsights/insights-advisor-frontend-build that referenced this issue Jun 24, 2019
@graue
Copy link

graue commented Jun 25, 2019

This would be fixed by #275, but there's a need to update the CI configuration so it doesn't attempt to test with ESLint 6 on Node 6, since ESLint has dropped support for Node 6.

@platinumazure
Copy link

Hi everyone, I'm from ESLint.

Instead of doing a direct require to a formatter path, I would recommend CLIEngine#getFormatter (if you have a CLIEngine instance) or CLIEngine.getFormatter (static function you can use if you don't have an instance).

Requiring the path directly is not part of the public API and could change any time, even in patch releases. The two CLIEngine options are in the public API and won't change except in a major release (and then, only when absolutely needed and we can't deprecate).

Good luck! Please stop by our Gitter chat if you need help.

@vesper8
Copy link

vesper8 commented Jun 25, 2019

related to vuejs/eslint-plugin-vue#916

@rwieruch
Copy link

rwieruch commented Jun 26, 2019

related eslint/eslint#11910

Breaks with ESLint 6.0.1. Works with 5.16.0.

@Mintonne
Copy link

Similar issue

Module build failed (from ./node_modules/eslint-loader/index.js):
Error: Failed to load plugin 'import' declared in '.eslintrc.js » @vue/eslint-config-standard » C:\Users\Anon\Desktop\xxxx\node_modules\eslint-config-standard\index.js': Cannot find module 'eslint/lib/util/source-code'

Annotation 2019-06-26 111816

Works perfectly with 5.16.0

@ricardogobbosouza
Copy link
Collaborator

ricardogobbosouza commented Jun 29, 2019

Hi @jimblue
Resolved #275
Waiting a new version

@jimblue
Copy link
Author

jimblue commented Jun 30, 2019

Sounds good 😄
Waiting the new release to test it and close this issue.

@ahmadalfy
Copy link

@jimblue anything we can do to accelerate this process?

@saveman71
Copy link

saveman71 commented Jul 2, 2019

@ahmadalfy I don't think @jimblue can do anything since he's just the issue reporter 😅

I guess tagging @MoOx who seem to be the one releasing the package on npm can help.

@MoOx
Copy link
Contributor

MoOx commented Jul 2, 2019

See #264

@saveman71
Copy link

Sorry I missed that, didn't mean anything rude! Thanks for taking the time to reply.

@MoOx
Copy link
Contributor

MoOx commented Jul 2, 2019

Don't worry, I just reopened this issue as it's still relevant as you can see.

@alexander-akait
Copy link
Member

Published https://www.npmjs.com/package/eslint-loader?activeTab=versions

@vesper8

This comment has been minimized.

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

No branches or pull requests