https://github.com/coder-spirit/eslint-config
Strict & opinionated ESLint+Prettier configuration
https://github.com/coder-spirit/eslint-config
Last synced: 2 months ago
JSON representation
Strict & opinionated ESLint+Prettier configuration
- Host: GitHub
- URL: https://github.com/coder-spirit/eslint-config
- Owner: Coder-Spirit
- License: mit
- Created: 2023-08-13T14:24:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T20:07:35.000Z (about 2 years ago)
- Last Synced: 2025-09-24T04:43:13.791Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# @coderspirit/eslint-config
This package provides a very opinionated and strict ESLint configuration (plus
some Prettier config as well). It basically combines other plugins and rules.
## Installation
```bash
# NPM
npm install @coderspirit/eslint-config --save-dev
# Yarn
yarn add @coderspirit/eslint-config --dev
# PNPM
pnpm add --save-dev @coderspirit/eslint-config
```
## Usage
### ESLint
In your `.eslintrc.cjs` file, add `'@coderspirit'` to the `extends` section:
```javascript
module.exports = {
extends: [
'@coderspirit',
// ...
],
// ...
}
```
### Prettier
In your `.prettierrc.mjs` file:
```javascript
import config from '@coderspirit/eslint-config/prettier'
export default {
...config,
// ... your custom details
}
```