ESLint Shareable Config for JavaScript
- Node.js v20 or later
- ESLint v8
npm:
npm i -D @munierujp/eslint-config
Yarn:
yarn add -D @munierujp/eslint-config
pnpm:
pnpm add -D @munierujp/eslint-config
Add @munierujp
to the extends
section of your ESLint configuration file.
JavaScript:
module.exports = {
extends: [
'@munierujp'
// add other rulesets here if needed
]
}
YAML:
extends:
- @munierujp
# add other rulesets here if needed
JSON:
{
"extends": [
"@munierujp"
// add other rulesets here if needed
]
}