-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
import/order 2.20.1 #1652
Comments
Which line is warned on? |
I'm not sure what in v2.20.1 would have caused this; #5625 should only affect What's your full eslint config? |
config (I removed all rules except
|
What's the full code of |
@wschurman to make it clear I did several times the same thing:
full code: import React from 'react';
import ReactDOM from 'react-dom';
import { App } from './components/App';
import { unregister } from './serviceWorker';
import './index.css';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
unregister(); |
@maktarsis are you on windows? Either way, can you also try with the latest commit on master for this plugin, and see if your problem is fixed? |
@ljharb yeah, I am Ok, I'll probably try |
I'll close this for now, but am happy to reopen if the issue isn't solved on latest master. |
@ljharb everything is fine now |
This package works incorrectly on v2.20.1 for
import/order
rule.Previously I was working on v2.18.x and the rules worked as I expected in accordance with the documentation.
After package upgrade I got an error:
There should be no empty line within import group import/order
This error happens where it should not.
If it'd help, v2.20.0 works fine as expected and only the latest patch version produces this behavior.
.eslintrc.json
component.jsx
The text was updated successfully, but these errors were encountered: