@fr0st/stylelint-config 1.0.8 → 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/LICENSE +0 -0
- package/README.md +32 -19
- package/index.js +3 -3
- package/package.json +24 -10
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -1,21 +1,34 @@
|
|
|
1
|
-
# Frost Stylelint Config
|
|
1
|
+
# Frost Stylelint Config
|
|
2
|
+
|
|
3
|
+
[](https://github.com/elusivecodes/Stylelint-Config/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@fr0st/stylelint-config)
|
|
5
|
+
[](https://www.npmjs.com/package/@fr0st/stylelint-config)
|
|
6
|
+
[](./LICENSE)
|
|
7
|
+
|
|
8
|
+
Stylelint shareable config for the *Frost* style.
|
|
2
9
|
|
|
3
|
-
Stylelint shareable config for the *Frost* style.
|
|
4
10
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm i -D @fr0st/stylelint-config stylelint
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
Create `stylelint.config.js`:
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
export default {
|
|
24
|
+
extends: ['@fr0st/stylelint-config'],
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The shared config supports both CSS and SCSS. SCSS-specific rules are applied to `**/*.scss`.
|
|
29
|
+
|
|
30
|
+
## Compatibility
|
|
31
|
+
|
|
32
|
+
- Node.js: `>=20.19.0`
|
|
33
|
+
- Stylelint: `^17.4.0`
|
|
34
|
+
- File types: CSS and SCSS
|
package/index.js
CHANGED
|
@@ -64,7 +64,6 @@ export default {
|
|
|
64
64
|
},
|
|
65
65
|
],
|
|
66
66
|
'selector-not-notation': null,
|
|
67
|
-
'scss/at-function-named-arguments': null,
|
|
68
67
|
},
|
|
69
68
|
overrides: [
|
|
70
69
|
{
|
|
@@ -74,9 +73,10 @@ export default {
|
|
|
74
73
|
'stylelint-config-recess-order',
|
|
75
74
|
],
|
|
76
75
|
rules: {
|
|
77
|
-
|
|
76
|
+
'declaration-property-value-no-unknown': null,
|
|
78
77
|
'no-invalid-position-at-import-rule': null,
|
|
79
78
|
'scss/at-extend-no-missing-placeholder': null,
|
|
79
|
+
'scss/at-function-named-arguments': null,
|
|
80
80
|
'scss/at-if-closing-brace-newline-after': null,
|
|
81
81
|
'scss/at-if-closing-brace-space-after': null,
|
|
82
82
|
'scss/at-if-no-null': null,
|
|
@@ -84,7 +84,7 @@ export default {
|
|
|
84
84
|
'scss/at-mixin-pattern': null,
|
|
85
85
|
'scss/at-rule-conditional-no-parentheses': null,
|
|
86
86
|
'scss/comment-no-empty': null,
|
|
87
|
-
|
|
87
|
+
'scss/declaration-property-value-no-unknown': true,
|
|
88
88
|
'scss/dimension-no-non-numeric-values': true,
|
|
89
89
|
'scss/dollar-variable-colon-space-after': 'at-least-one-space',
|
|
90
90
|
'scss/dollar-variable-empty-line-before': null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fr0st/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Stylelint shareable config for the Frost style.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"email": "elusivecodes@gmail.com"
|
|
17
17
|
},
|
|
18
18
|
"main": "index.js",
|
|
19
|
+
"exports": "./index.js",
|
|
19
20
|
"type": "module",
|
|
20
21
|
"files": [
|
|
21
22
|
"index.js",
|
|
@@ -23,21 +24,34 @@
|
|
|
23
24
|
"README.md"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
|
-
"
|
|
27
|
+
"lint": "eslint .",
|
|
28
|
+
"smoke": "stylelint --config ./index.js ./test/fixtures/smoke.css ./test/fixtures/smoke.scss",
|
|
29
|
+
"test": "npm run lint && npm run smoke"
|
|
27
30
|
},
|
|
28
31
|
"repository": {
|
|
29
32
|
"type": "git",
|
|
30
|
-
"url": "https://github.com/elusivecodes/Stylelint-Config.git"
|
|
33
|
+
"url": "git+https://github.com/elusivecodes/Stylelint-Config.git"
|
|
31
34
|
},
|
|
32
35
|
"author": "Elusive <elusivecodes@gmail.com>",
|
|
33
36
|
"license": "MIT",
|
|
34
37
|
"private": false,
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=20.19.0"
|
|
43
|
+
},
|
|
35
44
|
"dependencies": {
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"stylelint": "^
|
|
39
|
-
"stylelint-config-
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
"@stylistic/stylelint-config": "^4.0.0",
|
|
46
|
+
"stylelint-config-recess-order": "^7.7.0",
|
|
47
|
+
"stylelint-config-standard": "^40.0.0",
|
|
48
|
+
"stylelint-config-standard-scss": "^17.0.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"stylelint": "^17.4.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@fr0st/eslint-config": "^2.0.0",
|
|
55
|
+
"stylelint": "^17.4.0"
|
|
42
56
|
}
|
|
43
|
-
}
|
|
57
|
+
}
|