Possible to ignore/exclude file/folder from .editorconfig?

Another solution to ignore /vendor folder:

  • match the path you want to ignore
  • set unset to 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

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)