Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
yarn 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