Skip to content

nnmax/eslint-config

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.