@adonisjs/eslint-config

1.3.0 • Public • Published

@adonisjs/eslint-config

The base configuration for ESLint used by AdonisJS applications and packages.

Installation

Install the package as a development dependency from the npm packages registry.

npm i -D @adonisjs/eslint-config

# For yarn lovers
yarn add -D @adonisjs/eslint-config

# For pnpm believers
pnpm add -D @adonisjs/eslint-config

Usage

Add the following rule to your eslint config file.

{
  "extends": "@adonisjs/eslint-config/app"
}

If you are creating a package, then make sure to extend from the package config.

{
  "extends": "@adonisjs/eslint-config/package"
}

/@adonisjs/eslint-config/

    Package Sidebar

    Install

    npm i @adonisjs/eslint-config

    Weekly Downloads

    8,182

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    7.85 kB

    Total Files

    6

    Last publish

    Collaborators

    • julien-r44
    • romainlanz
    • virk