@qingf/autoprettier
自动根据工程中(已存在的)eslintrc配置以递归形式格式化指定目录
Last updated a year ago by qingf .
MIT · Original npm · Tarball · package.json
$ cnpm install @qingf/autoprettier 
SYNC missed versions from official npm registry.

Desc

自动根据工程中(已存在的)eslintrc配置以递归形式格式化指定目录

Install

npm i @qingf/autoprettier -D

OR

yarn add @qingf/autoprettier -D

OR

pnpm i @qingf/autoprettier -D

Usage

require('@qingf/autoprettier')(require('path').resolve(__dirname, 'client/pages/pro'), /\.(js|jsx)$/, { configFile: '.eslintrc.js'})

no need表示该文件符合eslint配置的语法规则;autofixed表示已根据语法规则自动修补

Current Tags

  • 1.0.13                                ...           latest (a year ago)

13 Versions

  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 6
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |