Headspring standard ESLint setup
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.
bin
test
.eslintrc.js
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

A standard ESLint config for Headspring projects, but with ESLint itself and all the necessary shareable config, plugins and parser as dependencies.

Inspired by: Turning duplicated configuration into installable tooling: ESLint edition

Provides an eslint command which runs the real ESLint with this config's .eslintrc in the context of this module's dependencies, so it will be able to find the plugins and parser it depends on without having to manage these dependencies individially in every project.

Installing an eslint command means tools which look for node_modules/.bin/eslint will find and run what is effectively a preconfigured version - for example, VS Code ESLint will successfully lint with this config just by having it installed in a project.

If using npm 5+, use this shortcut

npx install-peerdeps --dev eslint-config-airbnb

MIT Licensed