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

https://github.com/danielsss/eslint-config-daniels

a personal eslint config
https://github.com/danielsss/eslint-config-daniels

Last synced: 4 months ago
JSON representation

a personal eslint config

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.com/danielsss/eslint-config-daniels.svg?branch=master)](https://travis-ci.com/danielsss/eslint-config-daniels)
[![GitHub issues](https://img.shields.io/github/issues/danielsss/eslint-config-daniels.svg)](https://github.com/danielsss/eslint-config-daniels/issues)
[![GitHub stars](https://img.shields.io/github/stars/danielsss/eslint-config-daniels.svg)](https://github.com/danielsss/eslint-config-daniels/stargazers)
[![GitHub license](https://img.shields.io/github/license/danielsss/eslint-config-daniels.svg)](https://github.com/danielsss/eslint-config-daniels/blob/master/LICENSE)

# eslint-config-daniels
> ESLint shareable config for everyone

## Installation

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

## Usage

Once the `eslint-config-daniels` package is installed, you can use it by specifying `daniels or ./node_moduls/eslint-config-daniels` 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": ["daniels"],
"rules": {}
}
```

### Using the `daniels` config with `eslint:recommended`

There are several rules in the [`eslint:recommended` ruleset](http://eslint.org/docs/rules/) that Google style is not opinionated about that you might want to enforce in your project.

To use `daniels` style in conjunction with ESLint's recommended rule set, extend them both, making sure to list `daniels` last:

```js
{
"extends": ["eslint:recommended", "daniels"],
"rules": {}
}
```

## License

MIT ©