@leancodepl/stylelint-config 8.4.0 → 8.5.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 +30 -6
- package/package.json +34 -2
package/README.md
CHANGED
|
@@ -1,11 +1,35 @@
|
|
|
1
|
-
# stylelint-config
|
|
1
|
+
# @leancodepl/stylelint-config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Stylelint configuration for CSS and SCSS with property ordering.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install --save-dev @leancodepl/stylelint-config
|
|
9
|
+
# or
|
|
10
|
+
yarn add --dev @leancodepl/stylelint-config
|
|
11
|
+
```
|
|
8
12
|
|
|
9
|
-
##
|
|
13
|
+
## Usage Examples
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
### Basic Setup
|
|
16
|
+
|
|
17
|
+
```javascript
|
|
18
|
+
// stylelint.config.js
|
|
19
|
+
module.exports = {
|
|
20
|
+
extends: '@leancodepl/stylelint-config',
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### With Overrides
|
|
25
|
+
|
|
26
|
+
```javascript
|
|
27
|
+
// stylelint.config.js
|
|
28
|
+
module.exports = {
|
|
29
|
+
extends: '@leancodepl/stylelint-config',
|
|
30
|
+
rules: {
|
|
31
|
+
'length-zero-no-unit': null,
|
|
32
|
+
'color-hex-case': 'upper',
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leancodepl/stylelint-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "src/index.json",
|
|
6
6
|
"files": [
|
|
@@ -16,5 +16,37 @@
|
|
|
16
16
|
"stylelint-order": ">=5.0.0",
|
|
17
17
|
"stylelint-prettier": ">=5.0.0",
|
|
18
18
|
"stylelint-rscss": ">=0.4.0"
|
|
19
|
-
}
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public",
|
|
22
|
+
"registry": "https://registry.npmjs.org/"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=18.0.0"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/leancodepl/js_corelibrary.git",
|
|
30
|
+
"directory": "packages/linters/stylelint-config"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/leancodepl/js_corelibrary",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/leancodepl/js_corelibrary/issues"
|
|
35
|
+
},
|
|
36
|
+
"description": "Stylelint configuration for CSS and SCSS linting",
|
|
37
|
+
"keywords": [
|
|
38
|
+
"stylelint",
|
|
39
|
+
"css",
|
|
40
|
+
"scss",
|
|
41
|
+
"linting",
|
|
42
|
+
"styles",
|
|
43
|
+
"typescript",
|
|
44
|
+
"javascript",
|
|
45
|
+
"leancode"
|
|
46
|
+
],
|
|
47
|
+
"author": {
|
|
48
|
+
"name": "LeanCode",
|
|
49
|
+
"url": "https://leancode.co"
|
|
50
|
+
},
|
|
51
|
+
"sideEffects": false
|
|
20
52
|
}
|