eslint-plugin-header icon indicating copy to clipboard operation
eslint-plugin-header copied to clipboard

Empty first line breaks the header plugin

Open donmahallem opened this issue 2 years ago • 3 comments

Currently if the first line is emtpy in the source file and the header starts at line 2 the fixer causes the header to be output many(non consistent but 10+ times) times in succession.

donmahallem avatar Jan 02 '22 19:01 donmahallem

I have made #50 to resolve this issue.

Nokel81 avatar May 09 '22 19:05 Nokel81

For anyone interested in this, adding the @stylistic/js/no-multiple-empty-lines rule with maxBOF: 0 before this one fixes the issue.

lizozom avatar Mar 17 '24 12:03 lizozom

Community PR: https://github.com/Outburn-IL/fume-community/pull/43

lizozom avatar Mar 17 '24 12:03 lizozom