3.3.1 • Published 11 days ago

@mapbox/eslint-config-docs v3.3.1

Weekly downloads
114
License
MIT
Repository
github
Last release
11 days ago

eslint-config-docs

Eslint configuration for docs.mapbox.com sites. This configuration helps us catch incompatible features, enforce React proptypes, and more.

Install

Add the package to your project:

npm install @mapbox/eslint-config-docs --save-dev

Add this config name to extends in your eslint config. For docs sites, add it to conf/eslint-config-browser.json. Example:

"extends": ["./eslint-config-base.json", "@mapbox/eslint-config-docs"]

How to release

From the main branch:

  1. If you haven't already, update CHANGELOG.md to describe the changes, commit, and push.
  2. Run npm version {major|minor|patch}. Example (and usually): npm version minor.
  3. Push changes.
  4. Run mbx npm publish to publish the package to npm.

Dependabot will automatically update @mapbox/eslint-config-docs (within 1 day) to all site repositories. If you need it sooner, you can install this package in the repository by following the install steps.

This package uses npm 7, which means it will automatically install the peerDependnecies found in package.json. If your site requires a different version of a peer dependency, you can install the dependency in your repository using the --force flag. Example: npm i eslint-plugin-jsx-a11y@5 --force.

3.3.1

11 days ago

3.3.0

4 months ago

3.2.0

6 months ago

3.1.0

1 year ago

3.0.0

1 year ago

2.0.0

3 years ago

1.9.0-beta.5

3 years ago

1.9.0-beta.4

3 years ago

1.9.0-beta.3

3 years ago

1.9.0-beta.2

3 years ago

1.9.0-beta.1

3 years ago

1.9.0-beta.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.7.0-beta.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.0-beta.0

3 years ago

1.0.0-beta.1

3 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago