@mrhenry/stylelint-mrhenry-prop-order 2.0.16 → 3.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.
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import stylelint from 'stylelint';
|
|
2
|
+
import { order } from './order.mjs';
|
|
3
|
+
|
|
3
4
|
const orderSet = new Set(order);
|
|
4
5
|
|
|
5
6
|
const ruleName = "@mrhenry/stylelint-mrhenry-prop-order";
|
|
@@ -134,4 +135,4 @@ ruleFunction.ruleName = ruleName;
|
|
|
134
135
|
ruleFunction.messages = messages;
|
|
135
136
|
ruleFunction.meta = meta;
|
|
136
137
|
|
|
137
|
-
|
|
138
|
+
export default stylelint.createPlugin(ruleName, ruleFunction);
|
package/{order.cjs → order.mjs}
RENAMED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrhenry/stylelint-mrhenry-prop-order",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Mr. Henry's preferred order for CSS properties",
|
|
5
|
-
"
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.mjs",
|
|
6
7
|
"scripts": {
|
|
7
|
-
"test": "
|
|
8
|
-
"test:jest": "c8 --100 jest",
|
|
8
|
+
"test": "c8 --100 node --test && npm run test:properties-list",
|
|
9
9
|
"test:properties-list": "node verify-properties-list.mjs"
|
|
10
10
|
},
|
|
11
11
|
"author": "Mr. Henry",
|
|
@@ -17,22 +17,19 @@
|
|
|
17
17
|
"directory": "packages/prop-order"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
|
-
"order.
|
|
21
|
-
"
|
|
20
|
+
"order.mjs",
|
|
21
|
+
"index.mjs",
|
|
22
22
|
"LICENSE",
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
|
-
"jest": {
|
|
26
|
-
"preset": "jest-preset-stylelint"
|
|
27
|
-
},
|
|
28
25
|
"keywords": [
|
|
29
26
|
"stylelint",
|
|
30
27
|
"stylelint-plugin"
|
|
31
28
|
],
|
|
32
29
|
"peerDependencies": {
|
|
33
|
-
"stylelint": "^
|
|
30
|
+
"stylelint": "^16.0.0"
|
|
34
31
|
},
|
|
35
32
|
"devDependencies": {
|
|
36
|
-
"stylelint": "^
|
|
33
|
+
"stylelint": "^16.0.2"
|
|
37
34
|
}
|
|
38
35
|
}
|