Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/requarks/eslint-config-requarks
JavaScript Requarks Style - ESLint Shareable Config
https://github.com/requarks/eslint-config-requarks
eslint eslint-config standard
Last synced: 17 days ago
JSON representation
JavaScript Requarks Style - ESLint Shareable Config
- Host: GitHub
- URL: https://github.com/requarks/eslint-config-requarks
- Owner: requarks
- License: mit
- Created: 2017-10-01T20:39:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-02T01:38:22.000Z (over 7 years ago)
- Last Synced: 2025-01-10T12:19:02.395Z (26 days ago)
- Topics: eslint, eslint-config, standard
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-requarks
An ESLint configuration (eslint-config-requarks), based on the StandardJS rules, but with a few modifications.
## 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.To use the JavaScript Standard Style shareable config, first run this:
```bash
npm install --save-dev eslint-config-requarks eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
```Then, add this to your `.eslintrc` file:
```json
{
"extends": "requarks"
}
```*Note: We omitted the `eslint-config-` prefix since it is automatically assumed by ESLint.*
## Rules
eslint-config-requarks is based on [StandardJS]((http://standardjs.com)) with the following changes:
- No space before function parenthese enforcement (`space-before-function-paren` removed)
- No enforcement of error variable handling in catch statements (`handle-callback-err` removed)