[components] Add an .editorconfig file to fix ktlint

If an .editorconfig file exists in any parent directory of the checkout
directory, ktlint will fail because it uses those settings to determine what
the indentation should be.

This creates an .editorconfig that ktlint will "stop" at, effectively getting
the .editorconfig defaults. It should only be necessary to add settings to this
file if we want to override the defaults.
This commit is contained in:
Michael Droettboom
2018-10-26 15:10:46 -04:00
committed by Sebastian Kaspari
parent 2bbdefe869
commit ca4078250e

View File

@@ -0,0 +1,8 @@
# This is an .editorconfig that ktlint will "stop" at.
# If an .editorconfig file exists in any parent directory of the checkout
# directory, ktlint will fail because it uses those settings to determine what
# the indentation should be.
root = True