Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dreidev/eslint-config-dreidev

ESLint shareable config for the Dreidev JavaScript style guide.
https://github.com/dreidev/eslint-config-dreidev

config dreidev es2015 es2017 eslint eslint-config eslint-rules eslintconfig javascript jshint jslint linter linter-config quality validate

Last synced: 2 days ago
JSON representation

ESLint shareable config for the Dreidev JavaScript style guide.

Awesome Lists containing this project

README

        

# eslint-config-dreidev

ESLint shareable config for the [Dreidev](http://dreidev.com) JavaScript style guide

[![npm version](https://badge.fury.io/js/eslint-config-dreidev.svg)](https://badge.fury.io/js/eslint-config-dreidev) [![Build Status](https://travis-ci.org/dreidev/eslint-config-dreidev.svg?branch=master)](https://travis-ci.org/dreidev/eslint-config-dreidev) [![Coverage Status](https://coveralls.io/repos/github/dreidev/eslint-config-dreidev/badge.svg?branch=master)](https://coveralls.io/github/dreidev/eslint-config-dreidev?branch=master)

## Installation

```
$ npm install --save-dev eslint eslint-config-dreidev
```

## Usage

Once the `eslint-config-dreidev` package is installed, you can use it by specifying `dreidev` in the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](http://eslint.org/docs/user-guide/configuring).

```js
{
"extends": "dreidev",
"rules": {
// Additional, per-project rules...
}
}
```

#### Credit

- This repo is hugely inspired by [eslint-config-google](https://github.com/google/eslint-config-google) customizing the rules to our preferences.
- The Dreidev javascript style guide closely but not strictly follows [airbnb/javascript](https://github.com/airbnb/javascript)