Skip to content

Commit 092c6d1

Browse files
committed
Update EditorConfig for Symfony Flex assets
1 parent e15c3ec commit 092c6d1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.editorconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,23 @@ trim_trailing_whitespace = true
1313
[*.css]
1414
indent_size = 2
1515

16-
[*.js]
16+
[*.{js,ts}]
1717
indent_size = 2
1818

1919
[*.md]
2020
trim_trailing_whitespace = false
2121

22-
[*.ts]
23-
indent_size = 2
24-
2522
[*.twig]
2623
indent_size = 2
2724

2825
[*.yaml]
2926
indent_size = 2
3027

31-
# Override indent size for YAML files that are managed with Symfony Flex recipes
28+
# Symfony Flex
29+
# Use custom indent for files managed by Symfony Flex recipes
30+
31+
[{assets/stimulus_bootstrap.js,assets/controllers/csrf_protection_controller.js}]
32+
indent_size = 4
33+
3234
[config/**.yaml]
3335
indent_size = 4

0 commit comments

Comments
 (0)