@mapbox/eslint-config-docs
eslint configuration for docs.mapbox.com
Last updated 18 hours ago by mapbox-npm-06 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mapbox/eslint-config-docs 
SYNC missed versions from official npm registry.

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

You'll also need to install the peer dependencies, one way to do that is to globally install install-peerdeps and then run it to automatically install all the peer dependencies required by this package:

npm install -g install-peerdeps
npx install-peerdeps --dev @mapbox/eslint-config-docs

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"]

Current Tags

  • 0.4.0                                ...           latest (18 hours ago)

6 Versions

  • 0.4.0                                ...           18 hours ago
  • 0.3.0                                ...           3 months ago
  • 0.2.1                                ...           6 months ago
  • 0.2.0                                ...           6 months ago
  • 0.1.1                                ...           6 months ago
  • 0.1.0                                ...           6 months ago

Copyright 2014 - 2016 © taobao.org |