Shared configuration for a consistent experience using JavaScript.
pnpm add -DE eslint @forcir/eslint-config
yarn add -DE eslint @forcir/eslint-config
npm install -DE eslint @forcir/eslint-config
{
// ...
"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}\"",
// ...
}
}