@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: _flint_fyi_core0.Plugin<_flint_fyi_core0.RuleAbout<string>, "all", [_flint_fyi_core0.Rule<{
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
@@ -8,5 +8,3 @@ const css = createPlugin({
8
8
  });
9
9
  //#endregion
10
10
  export { css };
11
-
12
- //# sourceMappingURL=plugin.js.map
@@ -1,3 +1,2 @@
1
1
  import { RuleCreator } from "@flint.fyi/core";
2
2
  export declare const ruleCreator: RuleCreator<"logical", import("@flint.fyi/core").RuleAbout<"logical">>;
3
- //# sourceMappingURL=ruleCreator.d.ts.map
@@ -7,5 +7,3 @@ const ruleCreator = new RuleCreator({
7
7
  });
8
8
  //#endregion
9
9
  export { ruleCreator };
10
-
11
- //# sourceMappingURL=ruleCreator.js.map
@@ -7,4 +7,3 @@ declare const _default: import("@flint.fyi/core").Rule<{
7
7
  readonly url: string;
8
8
  }, "invalid", undefined>;
9
9
  export default _default;
10
- //# sourceMappingURL=hexColorValidity.d.ts.map
@@ -25,5 +25,3 @@ var hexColorValidity_default = ruleCreator.createRule(cssLanguage, {
25
25
  });
26
26
  //#endregion
27
27
  export { hexColorValidity_default as default };
28
-
29
- //# sourceMappingURL=hexColorValidity.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flint.fyi/css",
3
- "version": "0.0.2",
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": "^5.9.3 || ^6.0.0",
25
+ "typescript": "^6.0.0",
27
26
  "@flint.fyi/css-language": "^0.0.2",
28
- "@flint.fyi/core": "^0.23.0"
27
+ "@flint.fyi/core": "^0.23.3"
29
28
  },
30
29
  "devDependencies": {
31
- "tsdown": "0.21.0",
30
+ "tsdown": "0.22.3",
32
31
  "vitest": "4.1.0",
33
32
  "@flint.fyi/rule-tester": "^0.16.4"
34
33
  },