Specify ESLint Migration Behavior

I am using Atom with the package prettier-eslint. Therefore, when I save the file more beautifully, automatically format it to comply with ESLint rules. All the developers on my team also use it. But every time someone saves the same file, I see such lines while checking the code. enter image description here

This is the same line, but with a carry. How to configure ESLint to set JSX formatting in single-line mode or in multi-line space?

+4
source share

Source: https://habr.com/ru/post/1686219/


All Articles