@kaffee/moretta

1.0.22 • Public • Published

@kaffee/moretta

A enhance linter util

Support

  • [x] eslint
  • [x] vue-tsc
  • [x] tsc
  • [x] stylelint
  • [ ] prettier

Installation

Install with npm

  npm install --dev @kaffee/moretta

Install with yarn

  yarn add --dev @kaffee/moretta

Install with pnpm

  pnpm add -D @kaffee/moretta

Usage/Examples

Example command

yarn moretta
npx moretta
pnpm moretta

Example Config

{
  // package manage: "npm"|"yarn"|"pnpm"
  "pm":"pnpm", 
  // eslint match file
  "eslint":"src/**/*.{vue,ts,tsx}", 
  // multiple path
  "eslint":[ { "command": "app/main/src/**/*.{vue,ts}", "base_path": "." }], 
  "stylelint":["src/**/*.{vue,scss,css}"], 
  // package script key 
  // package.json script: {"lint:tsc":"tsc --noEmit"}
  "tsc":"lint:tsc",
  // package script key 
  // package.json script: {"lint:vue-tsc":"vue-tsc --noEmit --skipLibCheck --pretty"}
  "vue-tsc":"lint:vue-tsc",
  // contributor map
  "contributor":{
    "rikka":"Muromi Rikka"
  }
}

License

GPL

Contributors

Readme

Keywords

Package Sidebar

Install

npm i @kaffee/moretta

Weekly Downloads

0

Version

1.0.22

License

GPLV3

Unpacked Size

217 kB

Total Files

6

Last publish

Collaborators

  • muromi