@mapbox/eslint-config-geocoding

Shared eslint config for geocoding team

Stats

StarsIssuesVersionUpdatedCreatedSize
@mapbox/eslint-config-geocoding
2.0.22 years ago4 years agoMinified + gzip package size for @mapbox/eslint-config-geocoding in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.