@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"
        }
      }

    Keywords

    none

    Install

    npm i @mapbox/eslint-config-geocoding

    DownloadsWeekly Downloads

    142

    Version

    2.0.2

    License

    ISC

    Unpacked Size

    2.95 kB

    Total Files

    3

    Last publish

    Collaborators

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