mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-18 03:41:10 +08:00
Along with adding linting tools, commit also introduces the following changes: - Adds our suite of tooling for code styling/linting and closes #1656 - Updates the license information which closes #1669 - Adds browserlist config instead of defining manually which closes #1497 - Removes grunt and uses npm instead for building which closes #1433 - Moving away from grunt has fixed #1662
27 lines
501 B
INI
27 lines
501 B
INI
# 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,yml}]
|
|
trim_trailing_whitespace = false
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.json]
|
|
indent_style = tab
|