Skip to content

chiefmikey/mikey-pro

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
Mikey Pro

Style Guide

Lint and Format Code (the way Mikey likes it)

A curated compilation of packages, plugins, style guides, custom configurations
and modified rules for consistently writing top shelf code

Compatibility

Languages Frameworks
TypeScript
JavaScript
Markdown
HTML
CSS
SCSS
LESS
JSON
JSONC
JSON5
React
Preact
Svelte
Vue
Jest
Cypress

Requirements

Install extensions: ESLint | Prettier | Stylelint

Additional support: Vetur | Svelte | ShellCheck

Usage

Install

npm i -D mikey-pro

Configure

Add bundled configs to package.json and then reload

{
  "prettier": "@mikey-pro/prettier-config",
  "eslintConfig": {
    "extends": "@mikey-pro/eslint-config"
  },
  "stylelint": {
    "extends": "@mikey-pro/stylelint-config"
  }
}