You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@newrelic/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newrelic/eslint-config

Eslint ruleset for New Relic Node.js agent

0.5.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

New Relic Open Source community plus project banner.

New Relic Eslint Config

Base eslint configuration for New Relic Node.js agent team.

Installation

npm install --save-dev @newrelic/eslint-config eslint

Getting Started

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.

Support

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.

Contribute

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.

License

New Relic Eslint Config is licensed under the Apache 2.0 License.

Keywords

eslint

FAQs

Package last updated on 08 Jan 2025

Did you know?

Socket

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.

Install

Related posts