ifdef-loader
ifdef-loader copied to clipboard
ESLint bad indentation
The idea to use // #code
as a "placeholder" to make eslint works is very appreciated but substituting // #code
with spaces lead eslint to complain about the fact that expected indentation was 0 but found 9.
I think we just should replace with "" to maintain the real intended indentation
https://github.com/nippur72/ifdef-loader/blob/b783f8b0cf65fca8bc0f053b7808a045b4f6440f/preprocessor.ts#L272