@mikey-pro/style-guide

Mikey Pro Style Guide

Usage no npm install needed!

<script type="module">
  import mikeyProStyleGuide from 'https://cdn.skypack.dev/@mikey-pro/style-guide';
</script>

README

Mikey Pro

Style Guide + Theme

Mikey Pro Logo

@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
TypeScript - JavaScript - React - Preact - Vue - Svelte- JSX - HTML - CSS - SCSS - LESS - JSON - JSONC - JSON5 - Markdown

Requirements

Install extensions: ESLint | Prettier | Stylelint

Additional support: Vetur | Svelte

Add these preferences to settings.json

Usage

Install

npm i -D @mikey-pro/style-guide eslint prettier stylelint

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"
  }
}

Resources

@mikey-pro/eslint-config

@mikey-pro/prettier-config

@mikey-pro/stylelint-config