# eslint-config-nicenice

> eslint config that feels good; based on standardjs

Latest version **4.1.1** (published 2023-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-nicenice
pnpm add eslint-config-nicenice
yarn add eslint-config-nicenice
bun add eslint-config-nicenice
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.1.1 |
| Published | 2023-08-28 |
| First published | 2018-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ogle.ben@gmail.com |
| Maintainers | benogle, newhouse, fostimus |
| Keywords | eslint, standard, standard-style, eslintconfig, lint |

## Links

- npm: https://www.npmjs.com/package/eslint-config-nicenice
- Repository: https://github.com/benogle/eslint-config-nicenice
- Homepage: https://github.com/benogle/eslint-config-nicenice#readme
- Issues: https://github.com/benogle/eslint-config-nicenice/issues
- npm.io page: https://npm.io/package/eslint-config-nicenice

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 4.1.1 (latest) — 2023-08-28
- 4.1.0 — 2023-08-28
- 4.0.1 — 2023-01-11
- 4.0.0 — 2022-12-21
- 3.1.0 — 2022-12-15
- 3.0.0 — 2021-07-12
- 2.0.0 — 2020-01-31
- 1.1.1 — 2019-10-02
- 1.1.0 — 2018-05-04
- 1.0.1 — 2018-03-28

## README

# eslint-config-nicenice

This is standard + standard-jsx with a couple overrides:

```js
{
  'jsx-quotes': ['error', 'prefer-double'],
  'object-curly-spacing': ['error', 'always'],
  'comma-dangle': ['error', 'always-multiline'],
}
```

So

```js
// Dangling commas on multiline things
const a = {
  omg: 1,
}

// Spaces around curleys
const b = { wowza: true }

// JSX quotes are double quotes.
const Cat = () => (
  <input type="text" placeholder="Tell me about your cat" />
)
```

## Try it out here
```sh
yarn
node_modules/.bin/eslint ./test
```

## Use

Install the thing

```sh
yarn add --dev eslint-config-nicenice
```

Install many dependencies because [eslint sucks at them](https://github.com/eslint/eslint/issues/3458)

```sh
yarn add --dev eslint-config-nicenice

# add a billion dependencies because eslint doesnt handle allow them to be wrapped up in this package. Sorry
yarn add --dev eslint @babel/eslint-parser @babel/core eslint-config-standard eslint-config-standard-jsx eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-no-only-tests eslint-plugin-svg-jsx eslint-plugin-n eslint-config-prettier eslint-plugin-prettier
```

Create a `.eslintrc.js` file:

```js
module.exports = {
  extends: ['nicenice']
}
```

![so_good](https://user-images.githubusercontent.com/69169/38057017-f6b53d9e-3292-11e8-954e-8900809d442c.png)

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