Answer the question
In order to leave comments, you need to log in
How to use eslint if the team works on different platforms?
Good afternoon! I have the following problem/question.
I am working on a project (react / redux) in which all developers are mostly on macbooks, and I am on windows. The project strictly adheres to the style guide (spaces, indents ...), eslint is responsible for this. And after each pool, I have to run eslint so that it fixes errors related to spaces and indents (they are different on macbooks).
Everything would be fine, but when committing, it shows that I changed all the files, but I don’t need this.
Please tell me what to do in such situations, how to get rid of this?
Answer the question
In order to leave comments, you need to log in
with spaces and indents (they are different on macbooks).Why would they suddenly become different there? It's the editors' settings that are different for your colleagues. And if you have to correct mistakes for them, then your style guide is not so rigidly adhered to. Help them customize their editors as needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question