mikey-pro 5.0.3 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<div width="100%" align="center">
|
|
2
|
+
<h1>
|
|
3
|
+
<b>Mikey Pro</b>
|
|
4
|
+
</h1>
|
|
5
|
+
<h3>
|
|
6
|
+
<a href="https://github.com/mikey-pro/style-guide">Style Guide</a>
|
|
7
|
+
<br />
|
|
8
|
+
</div>
|
|
9
|
+
|
|
10
|
+
### Lint and Format Code (the way Mikey likes it)
|
|
11
|
+
|
|
12
|
+
_A curated compilation of packages, plugins, style guides, custom configurations
|
|
13
|
+
and modified rules for consistently writing top shelf code_
|
|
14
|
+
|
|
15
|
+
<table>
|
|
16
|
+
<thead>
|
|
17
|
+
<tr>
|
|
18
|
+
<th align="left">Compatibility</a></th>
|
|
19
|
+
</tr>
|
|
20
|
+
</thead>
|
|
21
|
+
<tbody>
|
|
22
|
+
<tr>
|
|
23
|
+
<td valign="top">
|
|
24
|
+
TypeScript -
|
|
25
|
+
JavaScript -
|
|
26
|
+
React -
|
|
27
|
+
Preact -
|
|
28
|
+
Vue -
|
|
29
|
+
Svelte-
|
|
30
|
+
JSX -
|
|
31
|
+
HTML -
|
|
32
|
+
CSS -
|
|
33
|
+
SCSS -
|
|
34
|
+
LESS -
|
|
35
|
+
JSON -
|
|
36
|
+
JSONC -
|
|
37
|
+
JSON5 -
|
|
38
|
+
Markdown
|
|
39
|
+
</td>
|
|
40
|
+
</tr>
|
|
41
|
+
</tbody>
|
|
42
|
+
</table>
|
|
43
|
+
|
|
44
|
+
## Requirements
|
|
45
|
+
|
|
46
|
+
Install extensions:
|
|
47
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint">ESLint</a>
|
|
48
|
+
|
|
|
49
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode">Prettier</a>
|
|
50
|
+
|
|
|
51
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint">Stylelint</a>
|
|
52
|
+
|
|
53
|
+
Additional support:
|
|
54
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=octref.vetur">Vetur</a>
|
|
55
|
+
|
|
|
56
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode">Svelte</a>
|
|
57
|
+
|
|
58
|
+
## Usage
|
|
59
|
+
|
|
60
|
+
### Install
|
|
61
|
+
|
|
62
|
+
```shell
|
|
63
|
+
npm i -D mikey-pro eslint prettier stylelint
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Configure
|
|
67
|
+
|
|
68
|
+
Add bundled configs to `package.json` and then reload
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"prettier": "@mikey-pro/prettier-config",
|
|
73
|
+
"eslintConfig": {
|
|
74
|
+
"extends": "@mikey-pro/eslint-config"
|
|
75
|
+
},
|
|
76
|
+
"stylelint": {
|
|
77
|
+
"extends": "@mikey-pro/stylelint-config"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mikey-pro",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Mikey Pro Style Guide",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@mikey-pro/eslint-config": "^5.0.
|
|
7
|
-
"@mikey-pro/prettier-config": "^5.0.
|
|
8
|
-
"@mikey-pro/stylelint-config": "^5.0.
|
|
6
|
+
"@mikey-pro/eslint-config": "^5.0.3",
|
|
7
|
+
"@mikey-pro/prettier-config": "^5.0.3",
|
|
8
|
+
"@mikey-pro/stylelint-config": "^5.0.3"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"README.md",
|