@firefoxic/stylelint-config 1.0.0 → 2.0.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 +9 -9
- package/package.json +2 -2
- package/stylelint.config.js +8 -11
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# @firefoxic/stylelint-config
|
|
2
2
|
|
|
3
|
-
[![Test Status][test-image]][test-url]
|
|
4
3
|
[![License: MIT][license-image]][license-url]
|
|
4
|
+
[![Changelog][changelog-image]][changelog-url]
|
|
5
5
|
[![NPM version][npm-image]][npm-url]
|
|
6
|
+
[![Test Status][test-image]][test-url]
|
|
6
7
|
|
|
7
8
|
Shared config for stylelint by [firefoxic](https://firefoxic.dev).
|
|
8
9
|
|
|
@@ -28,15 +29,14 @@ export default {
|
|
|
28
29
|
}
|
|
29
30
|
```
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
[license-url]: https://github.com/firefoxic/stylelint-config/blob/main/LICENSE.md
|
|
33
|
+
[license-image]: https://img.shields.io/badge/License-MIT-limegreen.svg
|
|
32
34
|
|
|
33
|
-
-
|
|
35
|
+
[changelog-url]: https://github.com/firefoxic/stylelint-config/blob/main/CHANGELOG.md
|
|
36
|
+
[changelog-image]: https://img.shields.io/badge/CHANGELOG-md-limegreen
|
|
34
37
|
|
|
35
|
-
[
|
|
36
|
-
[test-image]: https://github.com/firefoxic/stylelint-config/actions/workflows/test.yml/badge.svg?branch=main
|
|
37
|
-
|
|
38
|
-
[npm-url]: https://npmjs.org/package/firefoxic/stylelint-config
|
|
38
|
+
[npm-url]: https://npmjs.org/package/@firefoxic/stylelint-config
|
|
39
39
|
[npm-image]: https://badge.fury.io/js/@firefoxic%2Fstylelint-config.svg
|
|
40
40
|
|
|
41
|
-
[
|
|
42
|
-
[
|
|
41
|
+
[test-url]: https://github.com/firefoxic/stylelint-config/actions
|
|
42
|
+
[test-image]: https://github.com/firefoxic/stylelint-config/actions/workflows/test.yml/badge.svg?branch=main
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firefoxic/stylelint-config",
|
|
3
3
|
"description": "Shared config for stylelint by firefoxic.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Sergey Artemov",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@firefoxic/eslint-config": "^1.0.0",
|
|
34
|
-
"@firefoxic/
|
|
34
|
+
"@firefoxic/update-changelog": "^0.1.0",
|
|
35
35
|
"eslint": "^9.2.0",
|
|
36
36
|
"husky": "^9.0.11",
|
|
37
37
|
"stylelint": "^16.5.0"
|
package/stylelint.config.js
CHANGED
|
@@ -51,17 +51,6 @@ export default {
|
|
|
51
51
|
"keyframe-block-no-duplicate-selectors": true,
|
|
52
52
|
"keyframe-declaration-no-important": true,
|
|
53
53
|
"keyframe-selector-notation": `percentage-unless-within-keyword-only-block`,
|
|
54
|
-
"length-zero-no-unit": [
|
|
55
|
-
true,
|
|
56
|
-
{
|
|
57
|
-
ignore: [`custom-properties`],
|
|
58
|
-
ignoreFunctions: [
|
|
59
|
-
`calc`,
|
|
60
|
-
`var`,
|
|
61
|
-
`/^--/`,
|
|
62
|
-
],
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
54
|
"max-nesting-depth": [
|
|
66
55
|
2,
|
|
67
56
|
{
|
|
@@ -82,6 +71,7 @@ export default {
|
|
|
82
71
|
"no-invalid-double-slash-comments": true,
|
|
83
72
|
"no-invalid-position-at-import-rule": true,
|
|
84
73
|
"no-irregular-whitespace": true,
|
|
74
|
+
"no-unknown-custom-media": true,
|
|
85
75
|
"number-max-precision": [
|
|
86
76
|
3,
|
|
87
77
|
{
|
|
@@ -166,6 +156,13 @@ export default {
|
|
|
166
156
|
"@stylistic/media-query-list-comma-newline-before": `never-multi-line`,
|
|
167
157
|
"@stylistic/media-query-list-comma-space-after": `always-single-line`,
|
|
168
158
|
"@stylistic/media-query-list-comma-space-before": `never-single-line`,
|
|
159
|
+
"@stylistic/named-grid-areas-alignment": [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
gap: 2,
|
|
163
|
+
alignQuotes: true,
|
|
164
|
+
},
|
|
165
|
+
],
|
|
169
166
|
"@stylistic/no-eol-whitespace": true,
|
|
170
167
|
"@stylistic/no-extra-semicolons": true,
|
|
171
168
|
"@stylistic/no-missing-end-of-source-newline": true,
|