# Lint is giving error

**URL:** <https://discourse.processing.org/t/lint-is-giving-error/40694>\
**Category:** Development\
**Tags:** contributions\
**Created:** [January 24, 2023, 6:04am UTC](https://discourse.processing.org/t/lint-is-giving-error/40694 "2023-01-24T06:04:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdityaShrivastav](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/adityashrivastav/32/17836_2.png) [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)\
**Post date:** [January 24, 2023, 6:04am UTC](https://discourse.processing.org/t/lint-is-giving-error/40694/1 "2023-01-24T06:04:08Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/7/e7296d2fbf0c79e7ed9ef4f58741be5684586cd8.png)  
in every file i am getting i am getting this error by eslint, as you can see in the picture above the red color on the scroll bar.  
I found some solution for this on stackoverflow but could not find the most appropriate solution for myself.  
[javascript - Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style - Stack Overflow](https://stackoverflow.com/questions/37826449/expected-linebreaks-to-be-lf-but-found-crlf-linebreak-style)

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [January 24, 2023, 10:05am UTC](https://discourse.processing.org/t/lint-is-giving-error/40694/2 "2023-01-24T10:05:27Z")

</div>

Hi @AdityaShrivastav,

From the [ESLint documentation](https://eslint.org/docs/latest/rules/linebreak-style), this line break rule should be fixable.

You can either [configure VSCode to auto fix eslint warnings](https://www.digitalocean.com/community/tutorials/workflow-auto-eslinting#step-4-adding-code-actions-on-save) or do [it with the command line](https://eslint.org/docs/latest/use/command-line-interface#fix-problems):

```plaintext
$ eslint --fix --ext .js .

```

Hope this helps! 😉
