Shareable eslint configuration for Pangolin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.gitignore
CHANGELOG.md
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

Pangolin eslint Config

NPM version Dependencies JavaScript Standard Style

Shareable eslint configuration for Pangolin based on eslint-config-standard.

Installation

yarn add -D @pangolin/eslint-config
# or
npm install @pangolin/eslint-config --save-dev

Usage

Create an eslint configuration with the following content:

{
  "extends": "@pangolin/eslint-config"
}

Extending

Overwrite any rule from this config:

{
  "extends": "@pangolin/eslint-config",
  "rules": {
    "no-warning-comments": "error"
  }
}

eslint has an extensive list of rules. Additional rules are provided by the following plugins:

Configured rules

This config sets a few extra rules in addition to the ones from eslint-config-standard and eslint-plugin-ava/recommended: