Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.15 KB

README.md

File metadata and controls

44 lines (37 loc) · 1.15 KB

Forcir ESLint Config Logo

Shared configuration for a consistent experience using JavaScript.

Install

pnpm add -DE eslint @forcir/eslint-config
yarn add -DE eslint @forcir/eslint-config
npm install -DE eslint @forcir/eslint-config

Basic Usage

package.json

{
    // ...
    "eslintConfig": {
        "extends": "@forcir/eslint-config"
    },
    // ...
    "scripts" {
        // ...
        "lint": "eslint \"**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"",
        "lint:fix": "eslint --fix \"**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"",
        // ...
    }
}