Skip to content

Commit

Permalink
Add .editorconfig internally
Browse files Browse the repository at this point in the history
Summary: This file is causing problems with ShipIt because it exists externally on the s2s-release branch but not on the internal version.

Reviewed By: HeyMultiverse

Differential Revision: D22652162

fbshipit-source-id: dd707765
  • Loading branch information
bigfootjon authored and facebook-github-bot committed Jul 23, 2020
1 parent 2d0679b commit df14eb0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

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

[{.jshintrc,*.json,*.yml,*.env}]
indent_style = space
indent_size = 2
insert_final_newline = false

[*.md]
trim_trailing_whitespace = false

[*.txt]
end_of_line = crlf

0 comments on commit df14eb0

Please sign in to comment.