Add .editorconfig file for editor integration (https://github.com/woocommerce/woocommerce-blocks/pull/128)

This commit is contained in:
Kelly Dwan 2018-11-16 10:42:56 -05:00 committed by GitHub
parent 9bc66d90ee
commit 9090fb41a1
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,24 @@
# 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
indent_size = 4
tab_width = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.txt]
trim_trailing_whitespace = false
[*.{md,json,yml}]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2

View File

@ -1,4 +1,3 @@
/** @format */
/**
* External dependencies
*/