Package Exports
- eslint-config-hapi
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-hapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-config-hapi
Shareable ESLint config for the hapi ecosystem. To use in your project, add eslint-config-hapi and eslint-plugin-hapi to your package.json, then in your ESLint configuration add:
{
"extends": "eslint-config-hapi"
}ESLint will automatically insert the eslint-config-, so technically, you can just write "extends": "hapi".
Note: 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).