Last active
September 13, 2019 16:54
-
-
Save tgrecojs/fbd1e3d8bd5c754971aec8f8a67547bb to your computer and use it in GitHub Desktop.
Code for egghead.io lesson on using brace expansion with NPM install - https://egghead.io/lessons/scikit-learn-use-brace-expansion-to-maximize-efficiency-when-installing-packages-from-npm/edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Exhibit A: long form way of installing packages | |
npm install eslint-config-airbnb eslint-config-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-html eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier | |
# Exhibit B: using brace expansion | |
npm install eslint-{config-{airbnb,pretter},plugin-{react-hooks,react,html,import,jsx-a11y,prettier}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment