@axellero/eslint-config-prettier
Version:
ESLint configuration for Prettier
64 lines (57 loc) • 1.74 kB
Markdown
<h1 align="center">
<a target="_blank" href="https://axellero.io">
<img
height="64"
src="https://raw.githubusercontent.com/axellero-io/eslint/main/.github/assets/logo.png"
alt="axellero logo"
/>
<br/>
@axellero/eslint-config-prettier
</a>
</h1>
<p align="center">ESLint configuration for Prettier</p>
<p align="center">
<a href="https://github.com/axellero-io/eslint/actions?query=workflow%3A%22Lint+and+Test%22">
<img
src="https://github.com/axellero-io/eslint/workflows/Lint%20and%20Test/badge.svg"
alt="axellero/eslint repository github workflow status"
/>
</a>
<a href="https://github.com/axellero-io/eslint/blob/main/LICENSE">
<img
src="https://img.shields.io/github/license/axellero-io/eslint?label=License"
alt="axellero/eslint repository license"
/>
</a>
<a href="https://www.npmjs.com/package/@axellero/eslint-config-prettier">
<img
src="https://img.shields.io/npm/v/@axellero/eslint-config-prettier?color=blue&logo=npm&label="
alt="@axellero/eslint-config-prettier"
/>
</a>
</p>
## Installation
Add peer dependencies:
```shell
$ yarn add -D eslint prettier eslint-plugin-prettier
```
...then install config packages:
```shell
$ yarn add -D @axellero/eslint-config-prettier
```
## Usage
```json5
{
// package.json
"eslintConfig": {
"extends": [
"@axellero/eslint-config-prettier"
]
}
}
```
## Contributing
Any PR is welcomed by our **@js-opensource** team.
Check out our [contributing](../../CONTRIBUTING.md) guidelines for more info.
## License
[](../../LICENSE)