# eslint-config-google

> ESLint shareable config for the Google style

Latest version **0.14.0** (published 2019-09-02) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.14.0 |
| Published | 2019-09-02 |
| First published | 2015-10-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 24.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1768 |
| Author | Google |
| Maintainers | addyosmani, philipwalton, sindresorhus |
| Keywords | google, code, quality, style, lint, linter, jscs, jshint, jslint, eslint, validate, code style, strict, check, checker, verify, enforce, hint |

## Links

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

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.14.0 (latest) — 2019-09-02
- 0.13.0 — 2019-05-13
- 0.12.0 — 2019-01-31
- 0.11.0 — 2018-10-14
- 0.10.0 — 2018-09-05
- 0.9.1 — 2017-07-08
- 0.9.0 — 2017-07-08
- 0.8.1 — 2017-07-07
- 0.8.0 — 2017-06-03
- 0.7.1 — 2016-11-27
- 0.7.0 — 2016-10-18
- 0.6.0 — 2016-06-15
- 0.5.0 — 2016-04-11
- 0.4.0 — 2016-02-14
- 0.3.0 — 2015-11-02
- … 2 more at https://npm.io/package/eslint-config-google/versions

## README

# eslint-config-google [![Build Status](https://travis-ci.org/google/eslint-config-google.svg?branch=master)](https://travis-ci.org/google/eslint-config-google)

> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for the [Google JavaScript style guide (ES2015+ version)](https://google.github.io/styleguide/jsguide.html)


## Installation

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


## Usage

Once the `eslint-config-google` package is installed, you can use it by specifying `google` 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": "google",
  "rules": {
    // Additional, per-project rules...
  }
}
```

### Using the `google` 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 Google style in conjunction with ESLint's recommended rule set, extend them both, making sure to list `google` last:

```js
{
  "extends": ["eslint:recommended", "google"],
  "rules": {
    // Additional, per-project rules...
  }
}
```

To see how the `google` config compares with `eslint:recommended`, refer to the [source code of `index.js`](https://github.com/google/eslint-config-google/blob/master/index.js), which lists every ESLint rule along with whether (and how) it is enforced by the `google` config.


## License

Apache-2 © Google

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