Giter VIP home page Giter VIP logo

init-js-lint's Introduction

init-js-lint

I was tired of trying to remember all the packages and peer dependencies I needed to install just to get up and running with ESLint and Prerrier using Airbnb's configs, so I created this handly little script to do all that for me.

Check out this project on NPMjs.com

npm (scoped) NPM Travis (.org) GitHub repo size npm

What it installs

  • Airbnb's ESLint config (either base or with react depending on supplied argument)
  • any peer dependencies for Airbnb's ESLint config
  • any other packages specified in packages.js

Note: it will install the latest version of each package. Specifying versions is not (yet) supported. To install other versions, manually edit your package.json after you've run the script, then run npm i

Usage

Base config (you're not using react)

  npx @justaddcl/init-js-lint

React config

  npx @justaddcl/init-js-lint react

Thank you

A big shout out to the npms.io API, which I use to get the latest list of peer dependencies for the Airbnb's config that need to be installed

If you find this useful in your projects or have ideas on how to make this more helpful, I'd love to hear about it! @justaddcl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.