@gooddata/stylelint-config 5.0.2 → 11.19.0-alpha.3
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/.stylelintrc +21 -8
- package/README.md +9 -24
- package/package.json +20 -28
- /package/{NOTICE.txt → NOTICE} +0 -0
package/.stylelintrc
CHANGED
|
@@ -4,17 +4,13 @@
|
|
|
4
4
|
"stylelint-order",
|
|
5
5
|
"stylelint-scss"
|
|
6
6
|
],
|
|
7
|
+
"customSyntax": "postcss-scss",
|
|
7
8
|
"rules": {
|
|
8
|
-
"block-closing-brace-newline-before": "always",
|
|
9
|
-
"block-opening-brace-newline-after": "always",
|
|
10
9
|
"declaration-block-no-duplicate-properties": true,
|
|
11
10
|
"declaration-no-important": true,
|
|
12
11
|
"function-url-quotes": "always",
|
|
13
|
-
"indentation": 4,
|
|
14
|
-
"max-line-length": 100,
|
|
15
12
|
"max-nesting-depth": 3,
|
|
16
13
|
"no-duplicate-selectors": true,
|
|
17
|
-
"no-extra-semicolons": true,
|
|
18
14
|
"no-unknown-animations": true,
|
|
19
15
|
"at-rule-no-unknown": null,
|
|
20
16
|
"scss/at-rule-no-unknown": true,
|
|
@@ -77,10 +73,27 @@
|
|
|
77
73
|
"pointer-events"
|
|
78
74
|
],
|
|
79
75
|
"selector-max-id": 0,
|
|
80
|
-
"string-quotes": "single",
|
|
81
|
-
"value-keyword-case": "lower",
|
|
82
76
|
"value-no-vendor-prefix": true,
|
|
83
77
|
"no-descending-specificity": null,
|
|
84
|
-
"font-family-no-missing-generic-family-keyword": [true, {"ignoreFontFamilies": ["Indigo", "GoodIcons"]}]
|
|
78
|
+
"font-family-no-missing-generic-family-keyword": [true, {"ignoreFontFamilies": ["Indigo", "GoodIcons"]}],
|
|
79
|
+
"selector-class-pattern": null,
|
|
80
|
+
"function-no-unknown": null,
|
|
81
|
+
"color-function-notation": null,
|
|
82
|
+
"alpha-value-notation": null,
|
|
83
|
+
"property-no-vendor-prefix": null,
|
|
84
|
+
"custom-property-pattern": null,
|
|
85
|
+
"value-keyword-case": ["lower", { "ignoreKeywords": ["currentColor", "sRGB"] }],
|
|
86
|
+
"shorthand-property-no-redundant-values": null,
|
|
87
|
+
"declaration-block-no-redundant-longhand-properties": null,
|
|
88
|
+
"font-family-name-quotes": null,
|
|
89
|
+
"keyframes-name-pattern": null,
|
|
90
|
+
"selector-no-vendor-prefix": null,
|
|
91
|
+
"no-invalid-position-at-import-rule": null,
|
|
92
|
+
"selector-not-notation": null,
|
|
93
|
+
"media-feature-range-notation": null,
|
|
94
|
+
"rule-empty-line-before": null,
|
|
95
|
+
"at-rule-empty-line-before": null,
|
|
96
|
+
"annotation-no-unknown": null,
|
|
97
|
+
"import-notation": null
|
|
85
98
|
}
|
|
86
99
|
}
|
package/README.md
CHANGED
|
@@ -1,34 +1,19 @@
|
|
|
1
1
|
# @gooddata/stylelint-config
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Add and install the library as development dependency:
|
|
5
|
-
```
|
|
6
|
-
yarn install --save-dev @gooddata/stylelint-config
|
|
7
|
-
```
|
|
8
|
-
Modify your `.stylelintrc` configuration file:
|
|
9
|
-
```
|
|
10
|
-
{
|
|
11
|
-
"extends": ["@gooddata/stylelint-config"]
|
|
12
|
-
}
|
|
13
|
-
```
|
|
3
|
+
GoodData CSS Style Guide - Stylelint configuration for consistent CSS/SCSS code quality.
|
|
14
4
|
|
|
15
|
-
|
|
5
|
+
## Usage
|
|
16
6
|
|
|
17
|
-
|
|
7
|
+
Add the library as a development dependency and modify your `.stylelintrc` configuration file:
|
|
18
8
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"extends": ["@gooddata/stylelint-config"]
|
|
12
|
+
}
|
|
22
13
|
```
|
|
23
14
|
|
|
24
|
-
## Library release
|
|
25
|
-
|
|
26
|
-
Package publishing is done via Jenkins Job:
|
|
27
|
-
|
|
28
|
-
[https://checklist.intgdc.com/job/client-libs/job/gooddata-css-style-release/](https://checklist.intgdc.com/job/client-libs/job/gooddata-css-style-release/)
|
|
29
|
-
|
|
30
15
|
## License
|
|
31
|
-
Copyright © GoodData Corporation 2019-2022, All rights reserved
|
|
32
16
|
|
|
33
|
-
|
|
17
|
+
(C) 2019-2025 GoodData Corporation
|
|
34
18
|
|
|
19
|
+
This project is under MIT License. See [LICENSE](./LICENSE) for details.
|
package/package.json
CHANGED
|
@@ -1,40 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.19.0-alpha.3",
|
|
4
4
|
"description": "GoodData CSS Style Guide",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
5
|
+
"keywords": [
|
|
6
|
+
"stylelint",
|
|
7
|
+
"config"
|
|
8
|
+
],
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "
|
|
11
|
+
"url": "https://github.com/gooddata/gooddata-ui-sdk.git",
|
|
12
|
+
"directory": "sdk/tools/stylelint-config"
|
|
12
13
|
},
|
|
13
|
-
"author": "GoodData Corporation",
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
},
|
|
15
|
+
"author": "GoodData Corporation",
|
|
16
|
+
"main": ".stylelintrc",
|
|
18
17
|
"files": [
|
|
19
18
|
".stylelintrc",
|
|
20
|
-
"NOTICE
|
|
19
|
+
"NOTICE"
|
|
21
20
|
],
|
|
22
|
-
"homepage": "https://github.com/gooddata/gdc-css-style",
|
|
23
|
-
"engines": {
|
|
24
|
-
"node": ">= 4"
|
|
25
|
-
},
|
|
26
21
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"stylelint
|
|
30
|
-
"stylelint-
|
|
31
|
-
"stylelint-
|
|
32
|
-
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"jest": "^27.4.5"
|
|
22
|
+
"postcss": "^8.4.49",
|
|
23
|
+
"postcss-scss": "^4.0.9",
|
|
24
|
+
"stylelint": "^15.11.0",
|
|
25
|
+
"stylelint-config-standard": "^32.0.0",
|
|
26
|
+
"stylelint-order": "^6.0.4",
|
|
27
|
+
"stylelint-scss": "^5.3.2"
|
|
35
28
|
},
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">= 18"
|
|
31
|
+
}
|
|
32
|
+
}
|
/package/{NOTICE.txt → NOTICE}
RENAMED
|
File without changes
|