Eclipse does not recognize this attribute, but you can configure HTML validation options to ignore it.
In the "Settings for HTML files" → "Validation" section, you can ignore the specified attribute names. If you want, you can enter the template here, for example data-* .
source share