Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@hapi/eslint-config-hapi

hapijs21.8kBSD-3-Clausedeprecated13.0.2

This module has moved and is now available as part of @hapi/eslint-plugin. Please update your dependencies as this version is no longer maintained and may contain bugs and security issues.

Shareable ESLint config for the hapi ecosystem

hapi, lint, eslint, eslintconfig

readme

@hapi/eslint-config-hapi

Build Status

Shareable ESLint config for the hapi ecosystem. To use in your project, add @hapi/eslint-config-hapi and @hapi/eslint-plugin-hapi to your package.json, then in your ESLint configuration add:

{
  "extends": "@hapi/eslint-config-hapi"
}

Note: @hapi/eslint-plugin-hapi is a plugin containing custom hapi linting rules. It is a peer dependency because of the way ESLint handles shareable configs that include plugins and custom rules (see eslint/eslint#3458 and eslint/eslint#2518 for more background).