Skip to content

nnmax/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

85c854c · Mar 20, 2024
Jan 3, 2024
Mar 12, 2024
Jan 3, 2024
Mar 12, 2024
Mar 20, 2024
Sep 25, 2022
Sep 25, 2022
Aug 17, 2023
Mar 12, 2024
Mar 12, 2024
Aug 17, 2023
Sep 25, 2022
Mar 12, 2024
Apr 26, 2023
Mar 20, 2024
Mar 12, 2024

Repository files navigation

@nnmax/eslint-config

npm version

This guide focuses only on JavaScript code logic errors. No formatting checks.

It is recommended to use Prettier to manage the style of the code.

Most of the rules come from Airbnb JavaScript Style.

Prerequisites

  • ESLint 8.0.0 and above
  • Node.js 12.22 and above
  • Node.js 14 and above
  • Node.js 16 and above

Usage

With JavaScript:

npm i -D @nnmax/eslint-config-basic

With TypeScript:

npm i -D @nnmax/eslint-config-typescript

With React and TypeScript:

npm i -D @nnmax/eslint-config-react

Configuration

Adds "extends": ["@nnmax/eslint-config-basic"] to your .eslintrc.