Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update .editorconfig with new properties #915

Closed
wants to merge 1 commit into from

3 participants

@sindresorhus

See http://editorconfig.org

Properties: charset, trim_trailing_whitespace, insert_final_newline.

My Sublime plugin just got support for these new properties.

@mikesherov
Collaborator

:+1: now if we could only get the whole world using editorConfig.

@dmethvin dmethvin closed this in 949dfe5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 3 deletions.
  1. +10 −3 .editorconfig
View
13 .editorconfig
@@ -1,9 +1,16 @@
-; This file is for unifying the coding style for different editors and IDEs.
-; More information at http://EditorConfig.org
+# This file is for unifying the coding style for different editors and IDEs
+# editorconfig.org
root = true
-; All JavaScript files should use tabs unless specified otherwise
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# Tabs in JS unless otherwise specified
[**.js]
indent_style = tab
Something went wrong with that request. Please try again.