rtk-query-codegen icon indicating copy to clipboard operation
rtk-query-codegen copied to clipboard

Error creating comments with eslint rules

Open jomarquez21 opened this issue 4 years ago • 1 comments

This error is because the comment starts with /**, if you used /* instead, eslint does not log this as an error.

Captura de Pantalla 2021-10-03 a la(s) 14 58 12

I'm not sure if this is an error from my API documentation, or if the error is because a * is being added in the following line

jomarquez21 avatar Oct 03 '21 19:10 jomarquez21

If we were not adding a /** that comment would not show up in autocomplete popups for these parameters in your IDE - which is usually desirable. We should probably add an option to add an /* eslint-disable */ comment at the top of generated api files.

phryneas avatar Oct 03 '21 20:10 phryneas