@mapbox/eslint-config-geocoding

2.0.2 • Public • Published

eslint-config-geocoding

Shared eslint config for geocoding team. A very strict config including ES6 features.

To use this in a project

  1. Add the following to the devDependencies of your package.json:

    {
      "devDependencies": {
        "@mapbox/eslint-config-geocoding": "^1.0.0",
        "eslint": "^4.17.0",
        "eslint-plugin-node": "^5.2.1"
      }
    }
  2. Extend the @mapbox/eslint-config-geocoding config in your .eslintrc (or eslintConfig key in your package.json):

    {
      "extends": "@mapbox/eslint-config-geocoding"
    }
  3. Run eslint on your project as part of your test and lint scripts:

    {
      "scripts": {
        "test": "tape test/*.test.js && eslint *.js test/*.js",
        "lint": "eslint *.js test/*.js"
      }
    }

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.258latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.258
2.0.10
2.0.019
1.0.10
1.0.00

Package Sidebar

Install

npm i @mapbox/eslint-config-geocoding

Weekly Downloads

77

Version

2.0.2

License

ISC

Unpacked Size

2.95 kB

Total Files

3

Last publish

Collaborators

  • mbx-npm-ci-production
  • mbx-npm-ci-staging
  • mbx-npm-advanced-actions-production
  • mbx-npm-advanced-actions-staging
  • mbx-npm-09-production
  • mbx-npm-08-production
  • mbx-npm-07-production
  • mbx-npm-06-production
  • mbx-npm-05-production
  • mbx-npm-04-production
  • mbx-npm-03-production
  • mbx-npm-02-production
  • mbx-npm-01-production
  • mbx-npm-02-staging
  • mapbox-npm-01
  • mapbox-npm-02
  • mapbox-npm-07
  • mapbox-npm-03
  • mapbox-npm-04
  • mapbox-npm-09
  • mapbox-npm-05
  • mapbox-npm-06
  • mapbox-npm-08
  • mapbox-npm-advanced-actions
  • mapbox-npm-ci
  • mapbox-npm
  • mapbox-admin
  • mapbox-machine-user