March 2025posted on 03.19.2025EditorConfig Glob Expressions The sections in .editorconfig are filepath globs. They can be used to define config for certain files and directories: root = true [*] indent_style = tab indent_size = 2 insert_final_newline = true # Match exact file package.json [package.json] indent_style = space # Match .css files under test directory [test/**/*.css] insert_final_newline = false No reactions yet
EditorConfig Glob Expressions
The sections in
.editorconfigare filepath globs. They can be used to define config for certain files and directories: