@eslint-recommended/eslint-config

26.1.1 • Public • Published

npm version lint ESLint Recommended

@eslint-recommended/eslint-config

Recommended ESLint Shareable Config for JavaScript

Overview

@eslint-recommended/eslint-config is using following configurations and plugins.

Requirements

  • Node.js v20 or later
  • ESLint v8

Installation

npm:

npm i -D @eslint-recommended/eslint-config

Yarn:

yarn add -D @eslint-recommended/eslint-config

pnpm:

pnpm add -D @eslint-recommended/eslint-config

Usage

Add @eslint-recommended to the extends section of your ESLint configuration file.

JavaScript:

module.exports = {
  extends: [
    '@eslint-recommended'
    // add other rulesets here if needed
  ]
}

YAML:

extends:
  - @eslint-recommended
  # add other rulesets here if needed

JSON:

{
  "extends": [
    "@eslint-recommended"
    // add other rulesets here if needed
  ]
}

Badge

You can use below badge to show that your project is using ESLint Recommended.

ESLint Recommended

Markdown:

[![ESLint Recommended](https://img.shields.io/badge/eslint-recommended-%234B32C3)](https://github.com/eslint-recommended)

HTML:

<a href="https://github.com/eslint-recommended"><img src="https://img.shields.io/badge/eslint-recommended-%234B32C3" alt="ESLint Recommended"></a>

Related Packages

Package Sidebar

Install

npm i @eslint-recommended/eslint-config

Weekly Downloads

216

Version

26.1.1

License

MIT

Unpacked Size

5.62 kB

Total Files

4

Last publish

Collaborators

  • munierujp