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

fix: file end of line character changes #197

Merged
merged 2 commits into from
Dec 18, 2023

Commits on Dec 18, 2023

  1. fix: file end of line character changes

    Maintain the current predominant end of line character for files when
    making edits. This changes editing to use the standard TextEdit insert
    and replace creation methods to reduce complexity and overhead.
    
    This only handles Unix '\n' and Windows '\r\n' line endings, not pre
    MacOSX Mac '\r' as CodeNar doesn't appear to support that line ending.
    
    Fix callback handling in tests, adding missing await and reject
    handling.
    
    Validate each file result in folder lint test instead of total.
    
    Use option chaining and early return in getUpdatedSource to improve
    readability.
    
    Remove use of deprecated isNullOrUndefined.
    
    Fixes nvuillam#176
    stevenh committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    5eb7b0b View commit details
    Browse the repository at this point in the history
  2. ci: disable mega linter commits to forks

    Disable mega linter generation of commits to repo forks as this will
    generally fail.
    stevenh committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    ab11772 View commit details
    Browse the repository at this point in the history