@flint.fyi/css 0.0.2 → 0.1.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/lib/plugin.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _flint_fyi_core0 from "@flint.fyi/core";
|
|
2
|
-
|
|
3
1
|
//#region src/plugin.d.ts
|
|
4
|
-
declare const css:
|
|
2
|
+
declare const css: import("@flint.fyi/core").Plugin<import("@flint.fyi/core").RuleAbout<string>, "all", [import("@flint.fyi/core").Rule<{
|
|
5
3
|
readonly description: "Reports hex colors with invalid values.";
|
|
6
4
|
readonly id: "hexColorValidity";
|
|
7
5
|
readonly presets: readonly ["logical"];
|
|
@@ -10,5 +8,4 @@ declare const css: _flint_fyi_core0.Plugin<_flint_fyi_core0.RuleAbout<string>, "
|
|
|
10
8
|
readonly url: string;
|
|
11
9
|
}, "invalid", undefined>]>;
|
|
12
10
|
//#endregion
|
|
13
|
-
export { css };
|
|
14
|
-
//# sourceMappingURL=plugin.d.ts.map
|
|
11
|
+
export { css };
|
package/lib/plugin.js
CHANGED
package/lib/ruleCreator.d.ts
CHANGED
package/lib/ruleCreator.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flint.fyi/css",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "[Experimental] A Flint plugin for CSS code.",
|
|
5
5
|
"homepage": "https://flint.fyi/rules/css",
|
|
6
6
|
"repository": {
|
|
@@ -19,16 +19,15 @@
|
|
|
19
19
|
".": "./lib/index.js"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
|
-
"lib/"
|
|
23
|
-
"!lib/**/*.map"
|
|
22
|
+
"lib/"
|
|
24
23
|
],
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"typescript": "^
|
|
25
|
+
"typescript": "^6.0.0",
|
|
27
26
|
"@flint.fyi/css-language": "^0.0.2",
|
|
28
|
-
"@flint.fyi/core": "^0.23.
|
|
27
|
+
"@flint.fyi/core": "^0.23.3"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
|
-
"tsdown": "0.
|
|
30
|
+
"tsdown": "0.22.3",
|
|
32
31
|
"vitest": "4.1.0",
|
|
33
32
|
"@flint.fyi/rule-tester": "^0.16.4"
|
|
34
33
|
},
|