Skip to content

ice-drip/moretta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kaffee/moretta

A enhance linter util

Support

  • eslint
  • vue-tsc
  • tsc
  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published