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

@autoguru/eslint-plugin

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autoguru/eslint-plugin

AutoGuru's shareable eslint config and custom plugins

2.0.0
latest
Source
npm
Version published
Weekly downloads
126
-57.58%
Maintainers
0
Weekly downloads
 
Created
Source

@autoguru/eslint-plugin

Usage

yarn add --dev @autoguru/eslint-plugin \
	eslint

Modern eslint requires the flat config format and the package exports config for use with eslint.config.m/js.

import { base, react, typescript } from '@autoguru/eslint-plugin/config';

/** @type {import('eslint').Linter.Config[]} */
export default [
	...base,
	...typescript,
	...react,
	{
		rules: {
			// custom rules as normal
		},
	},
];

Legacy eslint

For versions prior to 9, configure it by extending your package.json or .eslintrc.yml file:

extends:
    - 'plugin:@autoguru/base'
    - 'plugin:@autoguru/typescript' // if your project uses TypeScript (you can omit /base)
    - 'plugin:@autoguru/react' // react and react hook checks
    - 'plugin:@autoguru/jest' // jest, so we test better

If there are incompabitiblities with a version of eslint plugin coming from the @autoguru/eslint-plugin, you may need to pin an older version by using package file resolutions.

FAQs

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