# @mwxltd/eslint-config-standard

> ESLint configuration used in MWX Ltd projects

Latest version **0.0.3** (published 2018-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mwxltd/eslint-config-standard
pnpm add @mwxltd/eslint-config-standard
yarn add @mwxltd/eslint-config-standard
bun add @mwxltd/eslint-config-standard
```

## 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.0.3 |
| Published | 2018-09-01 |
| First published | 2018-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | marnusw |

## Links

- npm: https://www.npmjs.com/package/@mwxltd/eslint-config-standard
- Repository: https://github.com/mwxltd/js-build-tools
- Homepage: https://github.com/mwxltd/js-build-tools#readme
- Issues: https://github.com/mwx-limited/js-build-tools/issues
- npm.io page: https://npm.io/package/@mwxltd/eslint-config-standard

## Dependencies (1)

- [confusing-browser-globals](https://npm.io/package/confusing-browser-globals.md) 2.0.0-next.9754a231

## Recent versions

- 0.0.3 (latest) — 2018-09-01
- 0.0.2 — 2018-02-12
- 0.0.1 — 2018-02-10

## README

# @mwxltd/eslint-config-standard

This package includes the ESLint configuration used by [MWX Ltd projects](https://github.com/mwx-limited/js-build-tools).<br>

## Usage

First, install this package, ESLint and the necessary plugins.

```sh
npm install --save-dev eslint-config-mwxltd babel-eslint@^8.2.1 eslint@^4.17.0 eslint-plugin-import@^2.6.0 eslint-plugin-jsx-a11y@^5.1.1 eslint-plugin-react@^7.1.0
```

Then add the following to the `package.json` of the project:

```json
  "eslintConfig": {
    "extends": "@mwxltd/standard"
  }
```

That's it! You can override the settings from `eslint-config-mwxltd` by modifying the config in `package.json` 
or create an `.eslintrc` file. Learn more about [configuring ESLint](http://eslint.org/docs/user-guide/configuring) 
on the ESLint website.

## Accessibility Checks

The following rules from the [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) plugin are activated:

- [accessible-emoji](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md)
- [alt-text](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md)
- [anchor-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md)
- [aria-activedescendant-has-tabindex](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md)
- [aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md)
- [aria-proptypes](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md)
- [aria-role](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md)
- [aria-unsupported-elements](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md)
- [heading-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md)
- [href-no-hash](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/v5.1.1/docs/rules/href-no-hash.md)
- [iframe-has-title](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md)
- [img-redundant-alt](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md)
- [no-access-key](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md)
- [no-distracting-elements](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md)
- [no-redundant-roles](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md)
- [role-has-required-aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md)
- [role-supports-aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md)
- [scope](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md)

If you want to enable even more accessibility rules, you can add the following to the config in `package.json`:

```json
  {
    "extends": ["@mwxltd/standard", "plugin:jsx-a11y/recommended"],
    "plugins": ["jsx-a11y"]
  }
```

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