1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00
simple-icons/.editorconfig
Eric Cornelissen 0a0586a04e
Lint SVG files for final newlines (#1367)
* Update editorconfig-checker dependency

At least v2.0.7 [1] is required to check that a file does not contain a 
final newline.

--
1. 
https://github.com/editorconfig-checker/editorconfig-checker.javascript/releases/tag/2.0.7

* Add *.svg to editorconfig and enable checking in editorconfig-checker

* Remove final newline from existing SVG files

... to fix the `$ npm run wslint` command
2019-04-23 01:41:13 +03:00

25 lines
384 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_style=space
indent_size=4
trim_trailing_whitespace=true