Skip to content

Instantly share code, notes, and snippets.

@CauanCabral
Last active April 7, 2022 18:40
Show Gist options
  • Save CauanCabral/2500c1f64aa00a139d43399d53e5f2ba to your computer and use it in GitHub Desktop.
Save CauanCabral/2500c1f64aa00a139d43399d53e5f2ba to your computer and use it in GitHub Desktop.
Default EditorConfig setup for Node.js projects
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
quote_type = single
[*.{md,MD}]
trim_trailing_whitespace = false
[*.bat]
end_of_line = crlf
[Makefile]
indent_size = 4
indent_style = tab
[{node_modules}/**]
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
trim_trailing_whitespace = unset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment