ourcodeinc / ActiveDocumentation-webapp

The main component of ActiveDocumentation implemented as a web app
MIT License
2 stars 8 forks source link

Fixed issue: Expected linebreaks to be 'LF' but found 'CRLF' in windows #23

Closed RBP98 closed 2 months ago

RBP98 commented 2 months ago

Added a rule in .eslintrc.json to fix below issue in windows issue

SaharMehrpour commented 2 months ago

@RBP98 This change fails the check. I suggest to turn off the linebreak rule:

"linebreak-style": "off"

You can also try this one:

"linebreak-style": ["error", "unix"]
RBP98 commented 2 months ago

@SaharMehrpour Turning off the linebreak rule works on windows. I tried this "linebreak-style": ["error", "unix"] but it is not compatible with windows. Please try this updated change and let me know if the checks are successful.