🌐
npm
npmjs.com β€Ί package β€Ί eslint
eslint - npm
2 weeks ago - An AST-based pattern checker for JavaScript.. Latest version: 10.0.3, last published: 9 days ago. Start using eslint in your project by running `npm i eslint`. There are 24640 other projects in the npm registry using eslint.
      Β» npm install eslint
    
Published Β  Mar 06, 2026
Version Β  10.0.3
Author Β  Nicholas C. Zakas
Homepage Β  https://eslint.org
JavaScript code analysis software
ESLint is a static code analysis tool for identifying problematic patterns found in JavaScript code. It was created by Nicholas C. Zakas in 2013. Rules in ESLint are configurable, and customized rules … Wikipedia
Factsheet
Original author Nicholas C. Zakas
Developer Nicholas C. Zakas
Initial release June 30, 2013; 12 years ago (2013-06-30)
Factsheet
Original author Nicholas C. Zakas
Developer Nicholas C. Zakas
Initial release June 30, 2013; 12 years ago (2013-06-30)
🌐
ESLint
eslint.org β€Ί docs β€Ί latest β€Ί integrate β€Ί nodejs-api
Node.js API Reference - ESLint - Pluggable JavaScript Linter
The purpose of the Node.js API is to allow plugin and tool authors to use the ESLint functionality directly, without going through the command line interface.
🌐
ESLint
eslint.org β€Ί docs β€Ί latest β€Ί use β€Ί getting-started
Getting Started with ESLint - ESLint - Pluggable JavaScript Linter
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code, with the goal of making code more consistent and avoiding bugs.
🌐
Medium
medium.com β€Ί geekculture β€Ί eslint-with-node-js-in-simple-words-cee0a0cf9167
Eslint with Node JS in Simple Words | by Ibrahim AlRayyan | Geek Culture | Medium
September 1, 2021 - Eslint with Node JS in Simple Words For the last two weeks, I have been trying to apply eslint linting to my node project. I have found too many suggestions. Most of them referring to use custom …
🌐
ESLint
eslint.org β€Ί docs β€Ί latest β€Ί integrate β€Ί integration-tutorial
Integrate with the Node.js API Tutorial - ESLint - Pluggable JavaScript Linter
This guide walks you through integrating the ESLint class to lint files and retrieve results, which can be useful for creating integrations with other projects.
🌐
npm
npmjs.com β€Ί package β€Ί eslint-plugin-node
eslint-plugin-node - npm
Additional ESLint's rules for Node.js. Latest version: 11.1.0, last published: 6 years ago. Start using eslint-plugin-node in your project by running `npm i eslint-plugin-node`. There are 2623 other projects in the npm registry using eslint-plugin-node.
      Β» npm install eslint-plugin-node
    
Published Β  Mar 28, 2020
Version Β  11.1.0
Author Β  Toru Nagashima
🌐
Maxim Orlov
maximorlov.com β€Ί eslint-setup-nodejs-detailed-guide-beginners
ESLint Setup in Node.js: A Detailed Guide - Maxim Orlov
In this tutorial, I'll walk you through the step-by-step process of adding ESLint, the most popular JavaScript linter, into your project so you can start benefiting from it right away.
Top answer
1 of 5
30

1) Add the following modules to your devDependencies using:

npm install --save-dev eslint
npm install --save-dev eslint-config-airbnb-base
npm install --save-dev eslint-plugin-import

2) Add an eslintConfig section to your package.json:

"eslintConfig": {
    "extends": "airbnb-base",
    "env": {
        "es6": true,
        "browser": true
    },
    "rules": {
        "brace-style": [
            "error",
            "stroustrup"
        ],
        "comma-dangle": [
            "error",
            "never"
        ],
        "no-unused-vars": [
            "warn"
        ],
        "no-var": [
            "off"
        ],
        "one-var": [
            "off"
        ]
    }
}

3) Visit eslint.org/docs/rules, search for the warnings you want to tweak and add them to the eslintConfig above.

4) Delete the .eslintrc file in the root of your project.

5) Restart your IDE

2 of 5
4

Install eslint package locally to your project.

$yarn add eslint --dev

Ideally one can generate configuration file .eslintrc through below command, unfortunately it installs wrong versions of peerDependencies resulting in weired linting errors.

$./node_modules/.bin/eslint --init

Easier way to fix the version of peerDependencies issue, use below command and install(I suggest you to install packages related to jsx and react though you may not doing any stuff related to React) corresponding version of the peerDependencies along with eslint-config-airbnb

$npm info "eslint-config-airbnb@latest" peerDependencies

Edit .eslintrc file with below content

{
  "extends": "airbnb",
  "plugins": [
    "react",
    "jsx-a11y",
    "import"
  ],
  "rules": {
  },
  "env": {
  }
}

*Note: Please edit eslintrc file depending on your coding rules, environment you follow. Refer developer-guide

Find elsewhere
🌐
DEV Community
dev.to β€Ί drsimplegraffiti β€Ί eslint-configuration-for-node-project-275l
Eslint configuration for Node Project - DEV Community
October 21, 2021 - We'll talk about how to enforce a style guide in our Nodejs project today in this brief post. When writing code, it's important to stick to a style and be consistent. πŸ₯¦ Let's get started by configuring our integrated environment. To begin, go to the vscode market and look for the eslint extension.
🌐
DEV Community
dev.to β€Ί devland β€Ί set-up-a-nodejs-app-with-eslint-and-prettier-4i7p
Set up a Node.js App with ESLint and Prettier - DEV Community
December 19, 2023 - ESLint is a JavaScript and TypeScript linting tool, that means it analyses source code and identifies possible programming problems and errors. It underlines errors in red and warnings in yellow.
🌐
ESLint
eslint.org β€Ί docs β€Ί latest β€Ί contribute β€Ί development-environment
Set up a Development Environment - ESLint - Pluggable JavaScript Linter
ESLint has a very lightweight development environment that makes updating code fast and easy. This is a step-by-step guide to setting up a local development environment that will let you contribute back to the project.
🌐
Medium
medium.com β€Ί the-node-js-collection β€Ί why-and-how-to-use-eslint-in-your-project-742d0bc61ed7
Why (and how) to use eslint in your project | by Node.js | Node.js Collection | Medium
November 29, 2017 - The exact contents of your package.json depend on your project, it is the pretest script that you have to add to cause eslintto run before your unit tests (when you you use npm to run the test script, it will also run the pretest and posttest scripts if they exist).
🌐
GitHub
github.com β€Ί mysticatea β€Ί eslint-plugin-node
GitHub - mysticatea/eslint-plugin-node: Additional ESLint's rules for Node.js
Additional ESLint's rules for Node.js. Contribute to mysticatea/eslint-plugin-node development by creating an account on GitHub.
Starred by 961 users
Forked by 181 users
Languages Β  JavaScript 100.0% | JavaScript 100.0%
🌐
Webscale
section.io β€Ί home β€Ί blog
Linting in Node.js using ESLint
June 24, 2025 - Get the latest insights on AI, personalization, infrastructure, and digital commerce from the Webscale team and partners.
🌐
ESLint
eslint.org β€Ί docs β€Ί latest β€Ί use β€Ί migrate-to-8.0.0
Migrate to v8.0.0 - ESLint - Pluggable JavaScript Linter
To address: Make sure you upgrade to at least Node.js 12.22.0 when using ESLint v8.0.0. One important thing to double check is the Node.js version supported by your editor when using ESLint via editor integrations.
🌐
GitHub
github.com β€Ί eslint β€Ί eslint
GitHub - eslint/eslint: Find and fix problems in your JavaScript code. Β· GitHub
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
Starred by 27.2K users
Forked by 4.9K users
Languages Β  JavaScript
🌐
GitHub
gist.github.com β€Ί silver-xu β€Ί 1dcceaa14c4f0253d9637d4811948437
Setup a Node.js project with Typescript, ESLint, Prettier, Husky Β· GitHub
We have a handful choices of linting tools for node development, but the de-factor standard these days for typescript is ESLint.
🌐
HackerNoon
hackernoon.com β€Ί how-to-use-eslint-in-node-js-applications-cc4b2298ce55
How to use ESLint in Node.js Applications? | HackerNoon
January 17, 2020 - ESLint is an open source JavaScript linting utility that help you overcome developer errors as JavaScript is loosely-typed language. There are quite a few options such as JSHint and JSCS in Javascript community for code linting and this post ...
🌐
Medium
medium.com β€Ί hackernoon β€Ί how-to-use-eslint-in-node-js-applications-cc4b2298ce55
How to use ESLint in Node.js Applications? | by Aman Mittal | HackerNoon.com | Medium
August 29, 2021 - How to use ESLint in Node.js Applications? ESLint is an open source JavaScript linting utility that help you overcome developer errors as JavaScript is loosely-typed language. There are quite a few …