
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.
@newrelic/eslint-config
Advanced tools
Base eslint configuration for New Relic Node.js agent team.
npm install --save-dev @newrelic/eslint-config eslint
Add the following to your eslint.config.js
:
'use strict'
const sharedConfig = require('@newrelic/eslint-config')
module.exports = [
...sharedConfig.recommended
]
That should be all you need to do for a simple project. However, some projects have requirements that go beyond the baseline. In order to support such projects, all of the internal configuration and plugins are exported:
configs
: An object where the keys are descriptive names of eslint
configuration objects, and the values are those configuration objects.plugins
: An object where the keys are plugin names, and the values are
those plugins.recommended
: An array of the baseline configurations.New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here.
We encourage your contributions to improve [project name]! Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.
If you have any questions, or to execute our corporate CLA (which is required if your contribution is on behalf of a company), drop us an email at opensource@newrelic.com.
A note about vulnerabilities
As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.
If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.
If you would like to contribute to this project, review these guidelines.
New Relic Eslint Config is licensed under the Apache 2.0 License.
FAQs
Eslint ruleset for New Relic Node.js agent
We found that @newrelic/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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.