1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00
simple-icons/.editorconfig
Álvaro Mondéjar 45583efadd
Add lint to check JSON data file prettification (#4320)
* Add test for check JSON data file prettification

* Move prettification test to out linting script

* Add other newline in error message to improve readability

* Invert the diff to show the solution to the user

* Add 'jest-diff' as direct dependency

* Remove annotations and colors

* Replace CRLF newlines with LFs in JSON prettification lint

* Restore colors in JSON prettification lint
2020-12-13 21:17:41 +01:00

24 lines
365 B
INI

root=true
[*]
charset=utf-8
insert_final_newline=true
[LICENSE.md]
indent_size=unset
indent_style=space
[*.{json,yml}]
indent_size=2
indent_style=space
[*.svg]
insert_final_newline=false
[.github/**/*.md]
trim_trailing_whitespace=false # Templates with trailing whitespace are more usable
[_data/simple-icons.json]
indent_size=4
trim_trailing_whitespace=true