ESLint Config
A shared ESLint config for my open source projects.
Table of Contents
Requirements
This library requires the following to run:
- Node.js 18+
Usage
Install with npm alongside eslint
:
npm install --save-dev eslint @rowanmanning/eslint-config
Add this to your .eslintrc
file:
{
"extends": "@rowanmanning/eslint-config"
}
If your project uses JSX via Preact, add this instead:
{
"extends": [
"@rowanmanning/eslint-config",
"@rowanmanning/eslint-config/jsx"
]
}
Contributing
Genuinely unless you're Rowan Manning, you probably don't need to contribute to this. However if you decide you really need to, then the contributing guide is available here. All contributors must follow this library's code of conduct.
License
ESLint Config is licensed under the MIT license.
Copyright © 2020, Rowan Manning