@rebeccastevens/eslint-config
Version:
My ESLint shareable config.
56 lines (41 loc) • 2.24 kB
Markdown
<div align="center">
# My ESLint Config
An [ESLint Shareable Config](https://eslint.org/docs/developer-guide/shareable-configs.html).
[](https://www.npmjs.com/package/@rebeccastevens/eslint-config)
[](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/actions/workflows/release.yml)
[](https://codecov.io/gh/RebeccaStevens/eslint-config-rebeccastevens)\
[](https://github.com/prettier/prettier)
[](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/discussions)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/semantic-release/semantic-release)
</div>
## Donate
[Any donations would be much appreciated](./DONATIONS.md). 😄
## Installation
```sh
pnpm add -D \
eslint \
@rebeccastevens/eslint-config
```
```sh
pnpm dlx install-peerdeps @rebeccastevens/eslint-config --dev -o -Y
```
Note: This project doesn't strictly follow semantic versioning so be sure to pin the version you are using.
## Usage
```js
// eslint.config.js
import rsEslint from "@rebeccastevens/eslint-config";
export default rsEslint(
{
// general config.
},
{
// project specific config.
},
{
// another project specific config.
},
);
```
See [ESLint configuration](http://eslint.org/docs/user-guide/configuring) for more information.