Skip to content

Instantly share code, notes, and snippets.

@dawsbot dawsbot/add-eslint.sh
Last active Mar 24, 2017

Embed
What would you like to do?
Add uber eslint to a project (assumes you don't have a `.eslintrc` to begin)
#!/bin/bash
yarn add eslint eslint-config-uber-es2015
echo '{\n "extends": ["eslint-config-uber-es2015"]\n}' > .eslintrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.