@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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    145
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    145
  • 2.0.1
    0
  • 2.0.0
    10
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i @mapbox/eslint-config-geocoding

Weekly Downloads

130

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