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