Another solution to ignore /vendor folder:
- match the path you want to ignore
- set
unsetto property you want to ignore
For example, if you have:
- /index.html
- /vendor
- /.editorconfig
You can match all files in the vendor directory in your .editorconfig and ignore all properties (set to IDE’s default):
# top-most EditorConfig file
root = true
# Ignore paths
[/vendor/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset