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
share config never works and always reports "ESLint couldn't find the config" in v6 #12654
Comments
Thank you for your report. This is the correct behavior. |
@mysticatea thank you for reply so how to ref a config outside (but not using relative path) correctly in eslint6? what is the replacement for this using case? |
I have do a second try echo '{"extends":"plugin:es/no-2019","plugins":["es"]}' > 1/.eslintrc
1/node_modules/.bin/eslint --resolve-plugins-relative-to 1 1/1 && echo ok
## outputs "ok"
echo '{"extends":"plugin:es/no-2019","plugins":["es"]}' > 2/.eslintrc
1/node_modules/.bin/eslint --resolve-plugins-relative-to 1 2 && echo ok
## outputs "ok" so it seems that but three problems
|
Generally, we cannot separate config files from dependencies. Those should be tied. I think that you can use
After RFC47 is implemented, you can drop |
I have think about using --config, but it breaks the ci process which run eslint to check root path we have to split the lint task to run multiple times for different directories and it is difficult because different directories can have different eslintrc |
maybe we need something likes |
Good news, we had just do a success migration in https://github.com/Mailtech/eslint-config-coremail steps bellow
|
Tell us about your environment
We are upgrading ESLint from 4 to 6
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
no config, just make a simple example with standard
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
It works in eslint 4 and now broken
What actually happened? Please include the actual, raw output from ESLint.
It is broken now in eslint 6, failed with
option
--resolve-plugins-relative-to
did not do any helpand I can not find any workaround or replaced to make it work again
The text was updated successfully, but these errors were encountered: