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