1. recommended
Run Prettier/ESLint with `recommended` configs
recommended
Package: recommended
Created by: ambar
Last modified: Sun, 15 May 2022 13:20:29 GMT
Version: 0.0.7
License: MIT
Downloads: 139
Repository: https://github.com/ambar/recommended

Install

npm install recommended
yarn add recommended

recommended

Coverage Status
npm version

Run Prettier/ESLint with recommended configs.

Install

 # JavaScript only
npm install --save-dev recommended
# JavaScript and TypeScript
npm install --save-dev recommended typescript

CLI

 Usage: recommended [options] [files]

Options:
  --fix		automatically fix problems
  --cache	try to use disk cache to speed up - default: true
  --init	setup editor config files
  -h, --help	output usage information

Examples:
  # lint all files in the current project
  recommended
  # lint specified files
  recommended src/index.ts
 {
  "scripts": {
    "lint": "recommended",
    "lint:fix": "recommended --fix"
  }
}

Editor Integration

Set up the config (.rc or VSCode) files by init command:

 recommended --init

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin