# eslint-config-standard-browser

> ESLint Shareable Config for browser in JavaScript Standard Style

Latest version **1.0.0** (published 2016-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-standard-browser
pnpm add eslint-config-standard-browser
yarn add eslint-config-standard-browser
bun add eslint-config-standard-browser
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-07-26 |
| First published | 2016-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | zyy7259 |
| Keywords | JavaScript Standard Style, eslint, eslintconfig |

## Links

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

## Dependencies (1)

- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^5.3.5

## 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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-07-26

## README

<!--
@Author: Zhang Yingya(hzzhangyingya) <zyy>
@Date:   2016-07-26T09:40:38+08:00
@Email:  zyy7259@gmail.com
@Last modified by:   zyy
@Last modified time: 2016-07-26T11:25:42+08:00
-->

# eslint-config-standard-browser
ESLint Shareable Config for browser in JavaScript Standard Style

## no-unused-vars

`no-unused-vars` has no effect when used with the `node` or `commonjs` environments or when `ecmaFeatures.modules` is true. See:
- https://github.com/eslint/eslint/commit/6c04d518c6c64bcd6b79f1ea482dd6cc45598bd4
- https://github.com/eslint/eslint/issues/1200

So I made the following changes.

- `delete config.parserOptions.sourceType`
- change env `node` to `browser`

At first, I want to extends eslint-config-standard and override the env. But failed because we can not override env now. See https://github.com/eslint/eslint/issues/2614

And also I config `no-unused-vars` to check only locally-declared variables. See http://eslint.org/docs/rules/no-unused-vars

```
{
  "rules": {
    "no-unused-vars": ["error", { "vars": "local", "args": "after-used" }]
  }
}
```

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