All my files has CRLF (Carriage Return + Line Feed) line endings, while the linter expects LF (Line Feed) line endings so to fix this issue I have changed "LF" (Unix) as the line ending format. After changing the line ending format the npm run lint ran successfully without any errors.
The following pull request shows "Showing 51,008 changed files with 8,125,991 additions and 72 deletions" It might be because of changing the line ending format.
The changes I made are the following:
Created a new ts file named helper.ts in src/middleware
Made some minor changes in the following files
src/controllers
404.js
errors.js
helpers.js
src/middleware
admin.js
assert.js
header.js
headers.js
helpers.js(changes are automatically made)
index.js
maintenance.js
render.js
uploads.js
user.js
All my files has CRLF (Carriage Return + Line Feed) line endings, while the linter expects LF (Line Feed) line endings so to fix this issue I have changed "LF" (Unix) as the line ending format. After changing the line ending format the npm run lint ran successfully without any errors.
The following pull request shows "Showing 51,008 changed files with 8,125,991 additions and 72 deletions" It might be because of changing the line ending format.
The changes I made are the following: