https://github.com/switchdreams/lint-config
This package provides Switch Dreams' eslint and prettier config as an extensible shared config.
https://github.com/switchdreams/lint-config
Last synced: about 1 month ago
JSON representation
This package provides Switch Dreams' eslint and prettier config as an extensible shared config.
- Host: GitHub
- URL: https://github.com/switchdreams/lint-config
- Owner: SwitchDreams
- Created: 2024-09-26T17:23:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-23T17:15:39.000Z (6 months ago)
- Last Synced: 2025-09-23T19:15:37.842Z (6 months ago)
- Language: JavaScript
- Homepage: https://switchdreams.com.br
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @switchdreams/lint-config
This package provides Switch Dreams' eslint and prettier config as an extensible shared config.
## Installation
```bash
pnpm add -D @switchdreams/lint-config eslint
```
## Usage
Usage for eslint > 9.0.0
```js
// eslint.config.mjs
import eslintConfigSwitchDreams from "@switchdreams/lint-config";
export default [
...eslintConfigSwitchDreams,
{
// Add your overrides here
},
]
```
```js
// .prettierrc.mjs
import switchDreamsConfig from "@switchdreams/lint-config/prettier";
const config = {
...switchDreamsConfig,
// ...your overrides
};
export default config;
```
## Requirements
- Using tailwindcss