1.2.5 • Published 16 days ago

@lehoczky/eslint-config-base v1.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

Eslint Config Base

npm version

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"
  }
}