# @overdose/config

> Overdose eslint plugin for React apps

Latest version **0.3.1** (published 2023-04-05) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @overdose/config
pnpm add @overdose/config
yarn add @overdose/config
bun add @overdose/config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2023-04-05 |
| First published | 2022-08-02 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 42 |
| Unpacked size | 11.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | lochlan_overdose |

## Links

- npm: https://www.npmjs.com/package/@overdose/config
- npm.io page: https://npm.io/package/@overdose/config

## Dependencies (42)

- [eslint](https://npm.io/package/eslint.md) <8.0.0
- [postcss](https://npm.io/package/postcss.md) ^8.4.4
- [prettier](https://npm.io/package/prettier.md) ^2.5.0
- [postcss-cli](https://npm.io/package/postcss-cli.md) ^9.0.1
- [postcss-for](https://npm.io/package/postcss-for.md) ^2.1.1
- [postcss-url](https://npm.io/package/postcss-url.md) ^10.1.3
- [postcss-each](https://npm.io/package/postcss-each.md) ^0.10.0
- [postcss-extend](https://npm.io/package/postcss-extend.md) ^1.0.5
- [postcss-import](https://npm.io/package/postcss-import.md) ^14.0.2
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^6.2.1
- [postcss-mixins](https://npm.io/package/postcss-mixins.md) ^9.0.2
- [postcss-nested](https://npm.io/package/postcss-nested.md) ^5.0.6
- [postcss-nesting](https://npm.io/package/postcss-nesting.md) ^7.0.0
- [postcss-composes](https://npm.io/package/postcss-composes.md) ^0.1.0
- [eslint-config-next](https://npm.io/package/eslint-config-next.md) ^12.0.7
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^26.0.0
- [postcss-preset-env](https://npm.io/package/postcss-preset-env.md) ^7.0.1
- [eslint-config-alloy](https://npm.io/package/eslint-config-alloy.md) ^4.4.0
- [eslint-config-turbo](https://npm.io/package/eslint-config-turbo.md) ^0.0.4
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.27.1
- [eslint-plugin-tsdoc](https://npm.io/package/eslint-plugin-tsdoc.md) ^0.2.14
- [postcss-extend-rule](https://npm.io/package/postcss-extend-rule.md) ^4.0.0
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^19.0.4
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.25.3
- [postcss-custom-media](https://npm.io/package/postcss-custom-media.md) ^7.0.8
- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) ^0.13.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.5.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [postcss-flexbugs-fixes](https://npm.io/package/postcss-flexbugs-fixes.md) ^4.2.1
- [eslint-plugin-storybook](https://npm.io/package/eslint-plugin-storybook.md) ^0.5.1
- [@next/eslint-plugin-next](https://npm.io/package/@next/eslint-plugin-next.md) ^12.0.7
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.4.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.3.0
- [postcss-custom-properties](https://npm.io/package/postcss-custom-properties.md) ^8.0.11
- [postcss-discard-duplicates](https://npm.io/package/postcss-discard-duplicates.md) ^5.0.1
- [eslint-plugin-import-helpers](https://npm.io/package/eslint-plugin-import-helpers.md) ^1.2.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.4.0
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) ^7.0.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^2.5.0
- [eslint-import-resolver-babel-module](https://npm.io/package/eslint-import-resolver-babel-module.md) ^5.3.1
- [stylelint-value-no-unknown-custom-properties](https://npm.io/package/stylelint-value-no-unknown-custom-properties.md) ^3.0.0

## Recent versions

- 0.3.1 (latest) — 2023-04-05
- 0.3.0 — 2022-10-13
- 0.2.0 — 2022-09-07
- 0.1.0 — 2022-09-05
- 0.0.6 — 2022-08-10
- 0.0.5 — 2022-08-08
- 0.0.4 — 2022-08-02
- 0.0.2 — 2022-08-02
- 0.0.1 — 2022-08-02

## README

# config

Configs for various tools.

## Usage

```shell
yarn add @overdose/config -D
```

### ESLint

`eslintrc.js`:

```js
const baseConfig = require('@overdose/config/src/eslint-plugin')
module.exports = baseConfig
```

Or for a Next.js project:

```js
const baseConfig = require('@overdose/config/src/eslint-plugin')

baseConfig.extends.push('plugin:@next/next/recommended')

module.exports = baseConfig
```

### Prettier

`prettierrc.js`:

```js
module.exports = require("@overdose/config/src/prettier-config")
```

### Stylelint

`stylelintrc.js`:

```js
{
  "extends": "@overdose/config/src/stylelint-config"
}
```

### PostCSS

`postcss.config.js`:

```js
const config = require('@overdose/config/src/postcss-config')

module.exports = config
```

Or if using custome media breakpoints from `@overdose/theme`:

```js
const config = require('@overdose/config/src/postcss-config')

config.plugins = {
  ...config.plugins,
  'postcss-custom-media': {
    importFrom: {
      customMedia: require('@overdose/theme/mq.json'),
    },
  },
}

module.exports = config
```

---
_Source: https://npm.io/package/@overdose/config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
