Back to Kibana

@kbn/eslint-plugin-telemetry

packages/kbn-eslint-plugin-telemetry/README.mdx

9.4.0506 B
Original Source

@kbn/eslint-plugin-telemetry is an ESLint plugin providing custom rules for validating JSXCode in the Kibana repo to make sure it can be instrumented for the purposes of telemetry.

@kbn/telemetry/instrumentable_elements_should_be_instrumented

This rule warns engineers to add data-test-subj to instrumentable components. It currently suggests the most widely used EUI components (EuiButton, EuiFieldText, etc), but can be expanded with often-used specific components used in the Kibana repo.