MMF-FE / svgicon

SVG icon components and tool set
https://mmf-fe.github.io/svgicon
MIT License
922 stars 95 forks source link

Add newline to <icon>.js #8

Closed ivictbor closed 7 years ago

ivictbor commented 7 years ago

First of all thanks for great work! It would be nice to add newline to each js file with icon, to prevent eslint error http://eslint.org/docs/rules/eol-last (for those who use it), for example, add \n here will fix the issue: https://github.com/MMF-FE/vue-svgicon/blob/master/bin/svg.js#L130

Allenice commented 7 years ago

Fixed. Now you can use a template file to format the generated icons