Skip to content
Last updated

plugins

Products:RevelRevelReefReefRealmRealm
Plans:ProEnterpriseEnterprise+

Introduction

Configure custom plugins to extend lint and decorator behavior. Use a plugin when the built-in rules, configurable rules, and built-in decorators do not cover your needs. To learn how to write one, see custom plugins.

Options

The plugins option is a list of paths to plugin files. Paths are relative to the config file. Add as many plugins as you need.

Examples

The following example includes two plugins from a directory named plugins/:

plugins:
  - plugins/my-best-plugin.js
  - plugins/another-plugin.js

List a plugin in the plugins section first. Then you can use its content elsewhere in the configuration file.

Resources