Skip to content

Instantly share code, notes, and snippets.

@KryptikOne
Last active December 15, 2019 05:26
Show Gist options
  • Save KryptikOne/f981dd8e434a268dc6fb19507e4da8ab to your computer and use it in GitHub Desktop.
Save KryptikOne/f981dd8e434a268dc6fb19507e4da8ab to your computer and use it in GitHub Desktop.

Revisions

  1. KryptikOne revised this gist Dec 15, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion editorconfig
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,7 @@ trim_trailing_whitespace = false
    indent_size = 4

    [*.{css,scss,sass}]
    insert_final_newline = false
    insert_final_newline = false

    [*{.html,php}]
    insert_final_newline = false
  2. KryptikOne created this gist Apr 16, 2017.
    26 changes: 26 additions & 0 deletions editorconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # EditorConfig helps developers define and maintain consistent
    # coding styles between different editors and IDEs
    # editorconfig.org

    root = true

    [*]
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    indent_style = space
    indent_size = 2

    [*.txt]
    indent_style = tab
    indent_size = 4

    [*.{diff,md}]
    trim_trailing_whitespace = false

    [*.js]
    indent_size = 4

    [*.{css,scss,sass}]
    insert_final_newline = false