ESLint Docs Components

Components used across this site.

Related rules

The related_rules shortcode is used to add one or more related rules to a rule.

Usage

The shortcode expects an array of rule names.

{ % related_rules ["no-extra-semi", "no-unexpected-multiline", "semi-spacing"] % }

Example