Skip to content
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

Eslint configuration #37

Open
ulasbinici opened this issue Aug 20, 2021 · 1 comment
Open

Eslint configuration #37

ulasbinici opened this issue Aug 20, 2021 · 1 comment
Assignees

Comments

@ulasbinici
Copy link

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

@pnikolov pnikolov self-assigned this Aug 25, 2021
@pnikolov
Copy link
Member

pnikolov commented Sep 2, 2021

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants