editorconfig-checker icon indicating copy to clipboard operation
editorconfig-checker copied to clipboard

feat: editorconfig-checker-disable-next-line

Open andreineculau opened this issue 3 years ago • 5 comments

It may seen redundant to introduce such a feature at first, but here's GNU Make

You cannot use comments within variable references or function calls: any instance of # will be treated literally (rather than as the start of a comment) inside a variable reference or function call.

I bet there are other instances out on the wild, that cannot do with a inline comment to disable editorconfig-checker for that specific line.

andreineculau avatar Aug 25 '21 12:08 andreineculau

To whoever picks that up, this function needs to be adjusted: https://github.com/editorconfig-checker/editorconfig-checker/blob/main/pkg/validation/validation.go#L32

mstruebing avatar Oct 05 '23 07:10 mstruebing