Socket
Book a DemoInstallSign in
Socket

@zaiusinc/eslint-config-presets

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zaiusinc/eslint-config-presets

Optimizely Data Platform preferred ESLint rules

2.0.0
latest
Source
npmnpm
Version published
Maintainers
4
Created
Source

Optimizely Data Platform ESLint Presets for TypeScript

This NPM package includes Optimizely Data Platform's preferred TypeScript ESLint rules for Node and React projects.

Installation

Install the package as a dev dependency using yarn or npm.

# yarn:
yarn add -D @zaiusinc/eslint-config-presets

# npm:
npm install -D @zaiusinc/eslint-config-presets

Usage

After adding the package to your project, create or update your .eslintrc.mjs file in the root of your project and extend the desired preset. For Node projects:

import node from '@zaiusinc/eslint-config-presets/node.mjs';
export default node;

and for React projects:

import node from '@zaiusinc/eslint-config-presets/react.mjs';
export default node;

Best Practices and Overrides

Certain projects may need overrides to the presets. Overrides or additional rules can be added to the rules object.

Please try to minimize overrides! For one-off situations you can ignore a single line with:

// eslint-disable-next-line

Start a discussion if you believe a change should be made to the preset for all projects.

FAQs

Package last updated on 13 May 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.