1. hfex-prettier-config
prettier代码格式化
hfex-prettier-config
Package: hfex-prettier-config
Last modified: Fri, 28 Apr 2023 12:51:51 GMT
Version: 1.0.0
License: ISC
Downloads: 5

Install

npm install hfex-prettier-config
yarn add hfex-prettier-config

prettier-config

这个包定义使用 Prettier 代码修复时所设定的规则。

使用方法

 npm i hfex-prettier-config prettier --save-dev

在 package.json 中配置

 {
    "scripts": {
        "prettier": "prettier ./src/*/**/* --write"
    },
    "prettier": "@company/prettier-config"
}

运行

 npm run prettier

Dependencies

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