Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunesimonsen/eslint-config-pretty-standard
A shareable eslint+prettier config based on standard
https://github.com/sunesimonsen/eslint-config-pretty-standard
Last synced: about 1 month ago
JSON representation
A shareable eslint+prettier config based on standard
- Host: GitHub
- URL: https://github.com/sunesimonsen/eslint-config-pretty-standard
- Owner: sunesimonsen
- License: mit
- Created: 2017-04-03T15:20:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-19T18:56:14.000Z (over 5 years ago)
- Last Synced: 2024-10-08T23:18:48.785Z (about 1 month ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 4
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-pretty-standard
A shareable eslint+prettier config based on standard.
This eslint config contains all
the [standard](https://github.com/feross/eslint-config-standard) rules that is
not about code style. The idea is that you use this config together
with [prettier](https://github.com/prettier/prettier).## Usage
Shareable configs are designed to work with the `extends` feature of `.eslintrc` files.
You can learn more about
[Shareable Configs](http://eslint.org/docs/developer-guide/shareable-configs) on the
official ESLint website.Here's how to install everything you need:
```bash
npm install --save-dev eslint-config-pretty-standard eslint prettier
```Then, add this to your .eslintrc file:
```
{
"extends": ["pretty-standard"]
}
```*Note: We omitted the `eslint-config-` prefix since it is automatically assumed by ESLint.*
You can override settings from the shareable config by adding them directly into your
`.eslintrc` file.