@nitra/eslint-config

2.0.25 • Public • Published

eslint-config

Installation

yarn add @nitra/eslint-config -D

This is only a shareable configuration. It does not install Prettier, Standard, ESLint, or any other part of the tool chain.

Usage

Reference it in package.json using the eslintConfig property.

Root:

"eslintConfig": {
  "extends": [
    "@nitra"
  ],
  "root": true
}

Node:

"engines": {
  "node": ">=18.0.0"
},
"eslintConfig": {
  "extends": [
    "@nitra/eslint-config/node"
  ]
}

Vue:

"eslintConfig": {
  "extends": [
    "@nitra/eslint-config/vue"
  ],
  "globals": {
    "localStorage": "readonly"
  }
}

Package Sidebar

Install

npm i @nitra/eslint-config

Weekly Downloads

201

Version

2.0.25

License

AGPL-3.0-or-later

Unpacked Size

7.23 kB

Total Files

3

Last publish

Collaborators

  • vitaliytv