frontend-webpack-boilerplate icon indicating copy to clipboard operation
frontend-webpack-boilerplate copied to clipboard

Eslint configuration

Open ulasbinici opened this issue 4 years ago • 1 comments

Is your support request related to a problem? Please describe. Yes, when I clone this repo, clean installed pc / vscode I have faced linebreak issues (only eslint plugin installed on vscode) After check the .eslintrc file, I saw "linebreak-style" is missing.

Describe alternatives you've considered Adding the "linebreak-style":0 on .eslintrc

ulasbinici avatar Aug 20 '21 14:08 ulasbinici

@ulasbinici

I've reviewed the documentation about ESLint line brake-style located here ESLint / Enforce consistent linebreak style and it states that the valid options are:

  • unix
  • windows

The default options is unix, so by default all line endings are using \n.

Can you share more details about the "linebreak-style":0 setting, what does it mean to set it to 0 and what line endings do you want to use on pc / vscode?

pnikolov avatar Sep 02 '21 08:09 pnikolov