
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
eslint-config-hapi
Advanced tools
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).
By default, eslint-config-hapi
enforces several rules that require ES6 features. If you would like to use eslint-config-hapi
, but are unable to abandon ES5, you can use ES5 config. To use this config, add eslint-config-hapi
and eslint-plugin-hapi
to your package.json
. Then, in your ESLint configuration add:
{
"extends": "eslint-config-hapi/lib/es5"
}
FAQs
Shareable ESLint config for the hapi ecosystem
The npm package eslint-config-hapi receives a total of 17,096 weekly downloads. As such, eslint-config-hapi popularity was classified as popular.
We found that eslint-config-hapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.