0.1.0 • Published 2 years ago

@energyweb/eslint-config v0.1.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

@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.

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago