Skip to content

Instantly share code, notes, and snippets.

@erictherobot
Created November 24, 2017 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erictherobot/6ea2d2e663d7bd081269daf843adaec3 to your computer and use it in GitHub Desktop.
Save erictherobot/6ea2d2e663d7bd081269daf843adaec3 to your computer and use it in GitHub Desktop.
Fixes Definition for rule 'jsx-a11y/href-no-hash' was not found (jsx-a11y/href-no-hash)
(
export PKG=eslint-config-airbnb;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment