1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-02-06 10:24:27 +00:00
nvm-sh/.editorconfig
insert_final_newline=off is not an acceptable value. strconv.ParseBool: parsing "off": invalid syntax insert_final_newline=off is not an acceptable value. strconv.ParseBool: parsing "off": invalid syntax insert_final_newline=off is not an acceptable value. strconv.ParseBool: parsing "off": invalid syntax insert_final_newline=off is not an acceptable value. strconv.ParseBool: parsing "off": invalid syntax
Jordan Harband 29dce5edfd
[New] allow .nvmrc files to support comments
In theory, `npx nvmrc` can now be used to validate an `.nvmrc` file that `nvm` will support. Allowances have been made for future extensibility, and aliases may no longer contain a `#`.

Fixes #3336. Closes #2288.

Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2024-06-07 10:13:00 -07:00

36 lines
658 B
INI

root = true
[*]
tab_width = 2
indent_size = 2
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.txt]
indent_size = false
[test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias]
indent_size = false
[test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias]
indent_size = false
[test/fast/Unit tests/mocks/**]
insert_final_newline = off
[test/**/.urchin*]
insert_final_newline = off
[Makefile]
indent_style = tab
[test/fixtures/nvmrc/**]
indent_style = off
insert_final_newline = off
[test/fixtures/actual/alias/empty]
insert_final_newline = off