@energyweb/eslint-config

0.1.0 • Public • Published

@energyweb/eslint-config

Shared eslint configuration for Energy Web projects.

Installation

Install package with npm

  npm install @energyweb/eslint-config --save-dev

and also peer dependencies

  npm install eslint eslint-config-prettier --save-dev
  npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser --save-dev

Usage/Examples

Create an eslint config file .eslintrc.js with following content

module.exports = {
  extends: [
    "@energyweb",
  ],
  env: {
    // This value should be project dependent and should not be the same for all repos
    // https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments
    browser: true,
    es2021: true,
    node: true
  },
};

Support

For support contact @Harasz or @jrhender.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @energyweb/eslint-config

    Weekly Downloads

    40

    Version

    0.1.0

    License

    GPL-3.0-or-later

    Unpacked Size

    2.35 kB

    Total Files

    3

    Last publish

    Collaborators

    • energywebdev
    • aznagy
    • bagaric
    • pkosin
    • drgorb
    • kroy
    • manihagh