//lint-mebybchiang7

lint-me

A script to install Upstatement ESLint & Prettier linting configs to your project

4
0
4
Shell

Lint Me

A script to install Upstatement linting configs (ESLint & Prettier) to your project

Installation

  1. Clone this repo

  2. In your terminal config (i.e. .zshrc, .bash_rc, etc.) add an alias for running the install script

    alias lintme="sh ~/<insert-path-to-this-repo>/install.sh"
    
  3. Now you should be able to run lintme at the root of any project to automatically install Upstatement’s ESLint & Prettier linting configs

Usage

At the root of any project, simply run

lintme <type>

Default

lintme

Four Spaces

lintme four

React

lintme react

Vue

lintme vue

You should end up with the following files at the root of your project

  • .editorconfig
  • .eslintrc
  • package-lock.json
  • package.json
  • prettier.config.js
Find me
[beta]v0.20.0