https://github.com/block65/eslint-config
Block65 ESLint config with Prettier
https://github.com/block65/eslint-config
eslint prettier
Last synced: 3 months ago
JSON representation
Block65 ESLint config with Prettier
- Host: GitHub
- URL: https://github.com/block65/eslint-config
- Owner: block65
- License: mit
- Created: 2020-09-02T10:11:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T05:06:16.000Z (almost 3 years ago)
- Last Synced: 2023-07-21T05:42:08.968Z (almost 3 years ago)
- Topics: eslint, prettier
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@block65/eslint-config
- Size: 1.98 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@block65/eslint-config)
[](https://github.com/block65/eslint-config/blob/master/LICENSE)
## Block65 ESLint config with Prettier
An ESLint [shareable config][shareable] for Block65 projects.
## Installation
Install with peer dependencies:
```bash
$ npx install-peerdeps --dev @block65/eslint-config
```
### Usage
Add the following to `module.exports` in `.eslintrc.cjs` or `eslintConfig` in `package.json`
```json
"extends": [
"@block65"
]
```
Add the following to your `module.exports` in `prettier.config.mjs` or `prettier` in `package.json`
```json
"@block65/eslint-config/prettier"
```
For more details on ESLint shareable configs, read the [shareable configs docs][shareable].
[shareable]: https://eslint.org/docs/developer-guide/shareable-configs
### License
MIT