line / ts-remove-unused

Remove unused code from your TypeScript project
Apache License 2.0
991 stars 12 forks source link

feat: remove empty lines #19

Closed kazushisan closed 1 month ago

kazushisan commented 1 month ago

this change will make ts-remove-unused handle empty lines in a more sophisticated manner.

example: when const remove is not used in the following file

export const a = 'a';

export const remove = 'remove';

export const a2 = 'a2';

before

export const a = 'a';

export const a2 = 'a2';

after

export const a = 'a';

export const a2 = 'a2';