@webb/config-eslint
TypeScript icon, indicating that this package has built-in type declarations

2020.4.16 • Public • Published

@webb/config-eslint

Opinionated ESLint configuration

Install

# Install this module, with ESLint
$ npm i @webb/config-eslint eslint -D

Usage

{
  // Default configuration
  extends: "./node_modules/@webb/config-eslint"
  // When parsing ES2015+
  extends: "./node_modules/@webb/config-eslint/dist/esnext.js"
  // When parsing for the browser
  extends: "./node_modules/@webb/config-eslint/dist/browser.js"
}

package.json

{
  "eslintConfig": {
    extends: "./node_modules/@webb/config-eslint"
  }
}

eslintrc.js

module.exports = exports = {
  extends: "./node_modules/@webb/config-eslint"
};

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @webb/config-eslint

    Weekly Downloads

    0

    Version

    2020.4.16

    License

    MIT

    Unpacked Size

    5.72 kB

    Total Files

    5

    Last publish

    Collaborators

    • netoperatorwibby