@energyweb/eslint-config
v0.1.0
Published
Shared eslint configuration for Energy Web projects.
Downloads
107
Keywords
Readme
@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
},
};