@mikey-pro/stylelint-config 10.0.4 → 10.2.0
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 +11 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
# @mikey-pro/stylelint-config
|
|
2
2
|
|
|
3
|
-
Stylelint configuration for
|
|
3
|
+
Stylelint configuration for CSS/SCSS best practices.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Recommended:** Install `mikey-pro` instead — includes this config plus ESLint and Prettier:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install --save-dev mikey-pro
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```javascript
|
|
14
|
-
// .stylelintrc.js
|
|
15
|
-
module.exports = {
|
|
16
|
-
extends: ['@mikey-pro/stylelint-config'],
|
|
17
|
-
};
|
|
11
|
+
```json
|
|
12
|
+
{ "stylelint": { "extends": "mikey-pro/stylelint" } }
|
|
18
13
|
```
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
## Standalone Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install --save-dev @mikey-pro/stylelint-config
|
|
19
|
+
```
|
|
21
20
|
|
|
22
21
|
```json
|
|
23
|
-
{
|
|
24
|
-
"stylelint": {
|
|
25
|
-
"extends": "@mikey-pro/stylelint-config"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
22
|
+
{ "stylelint": { "extends": "@mikey-pro/stylelint-config" } }
|
|
28
23
|
```
|
|
29
24
|
|
|
30
25
|
## Features
|
|
@@ -33,6 +28,5 @@ Or in package.json:
|
|
|
33
28
|
- Property ordering
|
|
34
29
|
- Selector specificity limits
|
|
35
30
|
- Color and font consistency
|
|
36
|
-
- Performance optimizations
|
|
37
31
|
|
|
38
32
|
See [Mikey Pro](https://github.com/chiefmikey/mikey-pro) for full documentation.
|