aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-10-21 16:53:16 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-21 16:53:16 +0200
commit4c7d5c440fa15dfae4fd11c6705fb834909980f6 (patch)
tree428226c2bd18320cb2a828fd2eb334c89fe58d2c
parent76f722f5fee352a6b51ee4467b9a7ed89fe0a5d6 (diff)
Align .editorconfig with .stylelintrc for CSS files (#3912)
And add explicit file extension to `.stylelintrc`
-rw-r--r--.editorconfig3
-rw-r--r--.stylelintrc.json (renamed from .stylelintrc)0
2 files changed, 3 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 7e376db74..7a025cfcd 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -8,6 +8,9 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
+[*.{css,scss}]
+indent_style = tab
+
[*.{html,php,phtml}]
indent_size = 4
indent_style = tab
diff --git a/.stylelintrc b/.stylelintrc.json
index b14138d3a..b14138d3a 100644
--- a/.stylelintrc
+++ b/.stylelintrc.json