Skip to content

Disabling Javascript "Line Break Style" Rule  #218

@ichala

Description

@ichala

Hello @nidalaa

  • Issue: This Eslint rule can be confusing to students, especially for Team-Work projects and to be specific, for teams with different operating systems like windows, Linux, etc ..., fixing the error will take a lot of time by going to each js file in the project and changing it to CRLF or to LF depend on your system, and this amount of effort will be repeated on every commit coming from a different operating system

  • Suggested solution: While this rule especially doesn't affect the code quality or help improve the code I would highly suggest disabling it directly from the .eslintrc.json file

Rule Error Example :
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions