use LF line endings for .mjs files (#10647)

This commit is contained in:
Kyℓe Hensel
2025-01-07 20:03:45 +11:00
committed by GitHub
parent 1f207b3d9b
commit 60d9cb052c
2 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ trim_trailing_whitespace = true
insert_final_newline = false
[*.{js,json,css,html}]
[*.{js,mjs,json,css,html}]
indent_style = space
indent_size = 4
@@ -13,7 +13,7 @@ indent_size = 4
# EOL for ESLint
# newline follows Airbnb style guide
# mix of indent size between ES5 and ES6 syntax files
[*.js]
[*.{js,mjs}]
end_of_line = lf
insert_final_newline = true
indent_size = tab_width
indent_size = tab_width

1
.gitattributes vendored
View File

@@ -1,3 +1,4 @@
* text=auto
*.bat eol=crlf
*.js eol=lf
*.mjs eol=lf