@lehoczky/eslint-config-base
v2.1.0
Published
[![npm version](https://badge.fury.io/js/@lehoczky%2Feslint-config-base.svg)](https://badge.fury.io/js/@lehoczky%2Feslint-config-base)
Downloads
210
Readme
Eslint Config Base
ESLint configuration for JavaScript projects. Supports prettier by default.
💿 Installation
pnpm add -D eslint @lehoczky/eslint-config-base
💻 Usage
eslint.config.mjs
:
import { configLehoczkyJavascript } from "@lehoczky/eslint-config-base"
/** @type {import("eslint").Linter.Config[]} */
export default configLehoczkyJavascript()
📢 Commands
package.json
:
{
"scripts": {
"eslint:check": "eslint --max-warnings=0",
"eslint:fix": "eslint --max-warnings=0 --fix"
}
}