Skip to content

Instantly share code, notes, and snippets.

@joglomedia
Last active July 26, 2021 06:43
Show Gist options
  • Save joglomedia/f0efc508aabd0387b7808c929f3e64d2 to your computer and use it in GitHub Desktop.
Save joglomedia/f0efc508aabd0387b7808c929f3e64d2 to your computer and use it in GitHub Desktop.

Revisions

  1. joglomedia revised this gist Jul 26, 2021. 1 changed file with 8 additions and 10 deletions.
    18 changes: 8 additions & 10 deletions .editorconfig
    Original file line number Diff line number Diff line change
    @@ -5,21 +5,19 @@
    root = true

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

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

    [*.txt]
    indent_style = tab
    indent_size = 4

    [*.{js,tf,ts,tsx,yaml,yml}]
    indent_style = space
    indent_size = 2

    [*.{css,html,php,py,rs,sh}]
    indent_style = space
    indent_size = 4

    [*.{diff,md}]
    trim_trailing_whitespace = false
    indent_size = 2
  2. joglomedia created this gist Jul 19, 2021.
    25 changes: 25 additions & 0 deletions .editorconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # EditorConfig helps developers define and maintain consistent
    # coding styles between different editors and IDEs
    # editorconfig.org

    root = true

    [*]
    end_of_line = lf
    insert_final_newline = true
    charset = utf-8

    [*.txt]
    indent_style = tab
    indent_size = 4

    [*.{js,tf,ts,tsx,yaml,yml}]
    indent_style = space
    indent_size = 2

    [*.{css,html,php,py,rs,sh}]
    indent_style = space
    indent_size = 4

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