Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ariesclark/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariesclark/eslint-config

An opinionated ESLint Configuration

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
330
increased by11.49%
Maintainers
0
Weekly downloads
 
Created
Source

ariesclark/eslint-config

This package requires ESLint v9 or later and is incompatible with earlier versions. If you're using an older version of ESLint, please upgrade to the latest version or use version 1.x of this package.

Usage

Applying the ruleset to your project is quick and easy. You install the package, then create an eslint.config.mjs file and select an appropriate project profile.

1. Install the package

To install the package, do this:

pnpm install -D eslint@9 typescript @ariesclark/eslint-config
2. Configure the linter

Create an eslint.config.mjs config file, as shown below:

eslint.config.mjs (ESLint v9+)
import { configs, config } from "@ariesclark/eslint-config";
import tailwindcss from "@ariesclark/eslint-config/tailwindcss";
/* You can import any subset by like below: */
// import react from "@ariesclark/eslint-config/react";
import nextjs from "@ariesclark/eslint-config/nextjs";

export default config({
	extends: [
		/***
			The recommended configuration includes the following by default:
		  Promise, TypeScript, Import, Unicorn and Prettier.
		 */
		...configs.recommended,
		// You can selectively include any subsets.
		// ...sortKeys, /* Previously enabled by default, now opt-in. */
		// ...node,
		// ...browser,
		...tailwindcss,
		// ...react,
		...nextjs /* includes: React subset. */
	]
});

Keywords

FAQs

Package last updated on 23 Sep 2024

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