@zilero/stylelint 1.0.0 → 1.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 +23 -28
- package/package.json +3 -3
package/README.md
CHANGED
@@ -1,73 +1,68 @@
|
|
1
|
-
|
1
|
+
<p align="center">
|
2
|
+
<h1 align="center">Stylelint Configuration 🎯</h1>
|
3
|
+
</p>
|
2
4
|
|
3
5
|
<p align="center">
|
4
6
|
<a href="https://github.com/Zilero232/dev-config-hub">
|
5
|
-
<img src="https://img.shields.io/github/actions/workflow/status/Zilero232/dev-config-hub/integrate.
|
7
|
+
<img src="https://img.shields.io/github/actions/workflow/status/Zilero232/dev-config-hub/integrate.yml?label=CI&logo=GitHub" alt="CI status">
|
6
8
|
</a>
|
7
|
-
<a href="https://www.npmjs.com/package/@zilero/
|
8
|
-
<img src="https://img.shields.io/npm/dm/@zilero/
|
9
|
+
<a href="https://www.npmjs.com/package/@zilero/stylelint">
|
10
|
+
<img src="https://img.shields.io/npm/dm/@zilero/stylelint?logo=NPM" alt="npm downloads">
|
9
11
|
</a>
|
10
12
|
<a href="https://github.com/Zilero232/cli">
|
11
13
|
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="npm license">
|
12
14
|
</a>
|
13
15
|
<a href="https://github.com/Zilero232/dev-config-hub/tree/main/tools/stylelint">
|
14
|
-
<img src="https://img.shields.io/npm/v/@zilero/
|
16
|
+
<img src="https://img.shields.io/npm/v/@zilero/stylelint?label=version" alt="version">
|
15
17
|
</a>
|
16
18
|
</p>
|
17
19
|
|
18
|
-
> ✨ Opinionated
|
20
|
+
> ✨ Opinionated Stylelint configurations for modern development
|
19
21
|
|
20
22
|
## ✨ Features
|
21
23
|
|
22
24
|
- 📦 Zero-config setup
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
25
|
+
- 🎨 Consistent CSS/SCSS formatting
|
26
|
+
- ⚡️ Modern CSS features support
|
27
|
+
- 🚫 Common CSS errors prevention
|
28
|
+
- 📱 Responsive design best practices
|
29
|
+
- 🎭 Support for CSS-in-JS
|
30
|
+
- ✅ CSS Grid and Flexbox validation
|
29
31
|
|
30
32
|
## 📥 Installation
|
31
33
|
|
32
34
|
### Using npm
|
33
35
|
|
34
36
|
```bash
|
35
|
-
npm install --save-dev @zilero/
|
37
|
+
npm install --save-dev @zilero/stylelint
|
36
38
|
```
|
37
39
|
### Using yarn
|
38
40
|
|
39
41
|
```bash
|
40
|
-
yarn add -D @zilero/
|
42
|
+
yarn add -D @zilero/stylelint
|
41
43
|
```
|
42
44
|
|
43
45
|
### Using pnpm
|
44
46
|
|
45
47
|
```bash
|
46
|
-
pnpm install -D @zilero/
|
48
|
+
pnpm install -D @zilero/stylelint
|
47
49
|
```
|
48
50
|
|
49
51
|
## 🚀 Quick start
|
50
52
|
|
51
|
-
Create the
|
53
|
+
Create the `.stylelintrc.js` at the root of your project:
|
52
54
|
|
53
|
-
```
|
55
|
+
```js
|
54
56
|
{
|
55
|
-
|
56
|
-
|
57
|
+
module.exports = {
|
58
|
+
extends: ['@zilero/stylelint']
|
57
59
|
}
|
58
60
|
}
|
59
61
|
```
|
60
62
|
|
61
|
-
## 📚 Available Configurations
|
62
|
-
|
63
|
-
- `tsconfig.base.json` - Base configuration for TypeScript projects
|
64
|
-
- `tsconfig.react.json` - Configuration for React applications
|
65
|
-
- `tsconfig.next.json` - Configuration for Next.js projects
|
66
|
-
- `tsconfig.node.json` - Configuration for Node.js applications
|
67
|
-
|
68
63
|
## 🤝 Contributing
|
69
64
|
|
70
|
-
We'd love for you to contribute to `@zilero/
|
65
|
+
We'd love for you to contribute to `@zilero/stylelint`! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.
|
71
66
|
|
72
67
|
### How to contribute:
|
73
68
|
|
@@ -106,4 +101,4 @@ These folks keep the project moving and are resources for help.
|
|
106
101
|
|
107
102
|
## 📄 License
|
108
103
|
|
109
|
-
License `@zilero/
|
104
|
+
License `@zilero/stylelint` is licensed under the [MIT License](LICENSE).
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"displayName": "✨ Zilero Stylelint Config",
|
5
5
|
"description": "💅 Opinionated Stylelint configuration for consistent CSS/SCSS styling",
|
6
6
|
"license": "MIT",
|
7
|
-
"version": "1.
|
7
|
+
"version": "1.2.0",
|
8
8
|
"keywords": [
|
9
9
|
"stylelint",
|
10
10
|
"stylelint-config",
|
@@ -48,9 +48,9 @@
|
|
48
48
|
"stylelint": "^16.6.1"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
|
-
"stylelint": "^16.
|
51
|
+
"stylelint": "^16.15.0",
|
52
52
|
"stylelint-config-idiomatic-order": "^10.0.0",
|
53
|
-
"stylelint-config-standard-scss": "^
|
53
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
54
54
|
"stylelint-order": "^6.0.4"
|
55
55
|
},
|
56
56
|
"scripts": {
|