@lehoczky/eslint-config-base
v1.2.6
Published
[![npm version](https://badge.fury.io/js/@lehoczky%2Feslint-config-base.svg)](https://badge.fury.io/js/@lehoczky%2Feslint-config-base)
Downloads
19
Readme
Eslint Config Base
ESLint configuration for JavaScript projects with prettier.
💿 Installation
pnpm add -D eslint prettier @lehoczky/eslint-config-base
💻 Usage
.eslintrc.cjs
:
module.exports = {
root: true,
env: {
// Or other environments you use
node: true,
},
extends: ["@lehoczky/eslint-config-base"],
}
Example command:
{
"scripts": {
"eslint:fix": "eslint . --ext .js --max-warnings=0 --fix"
}
}