New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-hookz/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-hookz/eslint-config

eslint configuration files used in @react-hookz projects

  • 4.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

[!CAUTION] PACKAGE IS DEPRECATED AND WILL BE DETED SOON
USE @ver0/eslint-config instead

@react-hookz/eslint-config

eslint configuration files used in @react-hookz projects

NPM Version NPM Downloads NPM Dependents Build

Installation

This package does not install eslint, so you need to install them manually.

yarn add -D @react-hookz/eslint-config eslint

Usage

This config is expected to be used with ESLint 8.3+, as it utilizes flat config.

Import sub-configs you are interested in, spreading them into your config. All configs are guaranteed to be an array.

Some configs, like jest and vitest, require extra dependencies to be installed. You can find the required dependencies in the respective READMEs.

import baseConfig from '@react-hookz/eslint-config/base.js';
import reactConfig from '@react-hookz/eslint-config/react.js';
import vitestConfig from '@react-hookz/eslint-config/vitest.js';

export default [
	...baseConfig,
	...reactConfig,
	...vitestConfig,
	{
		rules: {
			// your own overrides
		},
	},
];

FAQs

Package last updated on 07 Feb 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc