@dvukovic/style-guide 0.3.98 → 0.3.99
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 +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,6 +56,24 @@ export default customDefineConfig(
|
|
|
56
56
|
)
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
### Scripts
|
|
60
|
+
|
|
61
|
+
Add these scripts to your `package.json`:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"scripts": {
|
|
66
|
+
"lint": "yarn lint:eslint && yarn lint:prettier && yarn lint:stylelint && yarn lint:spell",
|
|
67
|
+
"lint:eslint": "eslint . --cache --concurrency=auto",
|
|
68
|
+
"lint:fix": "yarn lint:eslint --fix && yarn lint:prettier --write && yarn lint:stylelint --fix && yarn lint:spell",
|
|
69
|
+
"lint:prettier": "prettier --check --cache .",
|
|
70
|
+
"lint:spell": "cspell --config ./.cspellrc.js --no-progress --no-summary --unique '**'",
|
|
71
|
+
"lint:stylelint": "stylelint ./**/*.css --cache",
|
|
72
|
+
"test": "vitest run"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
59
77
|
### Complete Example
|
|
60
78
|
|
|
61
79
|
A full-featured project (this is the actual config used by this package):
|