eslint-config-awzzm-node

2.0.0 • Public • Published

⬅️ Back to Overview

Node.js Configuration

You don't need to install the base configuration (eslint-config-awzzm) because this configuration extends it.

Node.js v14 is required.

npm install --save-dev eslint-config-awzzm-node
# or
yarn add -D eslint-config-awzzm-node

Add it to your ESLint configuration:

{
  "extends": ["awzzm-node"]
}

Specifying Your Node.js Version

In order to work properly, some rules require you to specify the Node.js version you're using in your package.json:

{
  "name": "my-package",
  // ...
  "engines": {
    "node": ">=10.0.0"
  }
}

You should lint your files with the same Node.js version as you use for running it.

/eslint-config-awzzm-node/

    Package Sidebar

    Install

    npm i eslint-config-awzzm-node

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.2 kB

    Total Files

    4

    Last publish

    Collaborators

    • moritzruth