@master/eslint-config-css 2.0.0-rc.85 → 2.0.0-rc.86

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,15 +1,11 @@
1
1
  $ tsdown --config ../../shared/tsdown-package.config.ts
2
- ℹ tsdown v0.22.3 powered by rolldown v1.1.3
2
+ ℹ tsdown v0.22.4 powered by rolldown v1.1.5
3
3
  ℹ config file: /home/runner/work/css/css/shared/tsdown-package.config.ts
4
4
  ℹ entry: src/index.ts
5
5
  ℹ tsconfig: tsconfig.prod.json
6
6
  ℹ Build start
7
+ TypeScript 7.0 does not yet have a stable API and is experimental. Some options will be unavailable.
7
8
  ℹ dist/index.js 0.19 kB │ gzip: 0.15 kB
8
9
  ℹ dist/index.d.ts 0.15 kB │ gzip: 0.13 kB
9
10
  ℹ 2 files, total: 0.34 kB
10
- [PLUGIN_TIMINGS] Your build spent significant time in plugins. Here is a breakdown:
11
- - rolldown-plugin-dts:generate (66%)
12
- - tsdown:deps (33%)
13
- See https://rolldown.rs/reference/InputOptions.checks#plugintimings for more details.
14
-
15
- ✔ Build complete in 5894ms
11
+ ✔ Build complete in 772ms
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Linter } from "eslint";
2
-
3
2
  //#region src/index.d.ts
4
3
  declare const recommended: Linter.Config[];
5
4
  //#endregion
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "provenance": true
37
37
  },
38
38
  "dependencies": {
39
- "@master/eslint-plugin-css": "^2.0.0-rc.85"
39
+ "@master/eslint-plugin-css": "^2.0.0-rc.86"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "eslint": ">=9.0.0"
@@ -45,7 +45,7 @@
45
45
  "@angular-eslint/template-parser": "^21.4.0",
46
46
  "eslint": "^10.5.0"
47
47
  },
48
- "version": "2.0.0-rc.85",
48
+ "version": "2.0.0-rc.86",
49
49
  "scripts": {
50
50
  "build": "tsdown --config ../../shared/tsdown-package.config.ts",
51
51
  "dev": "tsdown --config ../../shared/tsdown-package.config.ts --watch",
package/tests/test.ts CHANGED
@@ -9,15 +9,15 @@ test('ESLint Configuration is valid', async () => {
9
9
  expect(result[0].warningCount).toBe(9)
10
10
  expect(result[0].messages.map((eachMessage) => eachMessage.message)).toEqual(
11
11
  [
12
- 'No consistent class order followed.',
13
- '"m:0.625rem", "m:5x", and "m:10x@sm" are overridden by "m:1.875rem" and "m:3.125rem@sm".',
14
- 'No consistent class order followed.',
15
- 'Prefer "font:xs" over "font:.75rem".',
16
- 'Prefer "font:2xl@sm" over "font:1.5rem@sm".',
17
- 'Prefer "mx:8x mt:8x" over "m:8x" because "mb:12x" overrides part of it.',
18
- 'Prefer "m:xl" over "m:8x".',
19
- 'Prefer "font:3xl@md" over "font:2rem@md".',
20
- 'Prefer "mb:2xl" over "mb:12x".',
12
+ 'Sort classes into the expected order: "m:0.625rem m:1.875rem m:5x m:3.125rem@sm m:10x@sm".',
13
+ 'Remove classes "m:0.625rem m:5x m:10x@sm"; they are overridden by later classes "m:1.875rem m:3.125rem@sm".',
14
+ 'Sort classes into the expected order: "block m:8x mb:12x font:.75rem font:1.5rem@sm font:2rem@md".',
15
+ 'Use canonical class "font:xs" instead of "font:.75rem".',
16
+ 'Use canonical class "font:2xl@sm" instead of "font:1.5rem@sm".',
17
+ 'Replace "m:8x" with "mx:8x mt:8x"; later class "mb:12x" overrides part of "m:8x".',
18
+ 'Use canonical class "m:xl" instead of "m:8x".',
19
+ 'Use canonical class "font:3xl@md" instead of "font:2rem@md".',
20
+ 'Use canonical class "mb:2xl" instead of "mb:12x".',
21
21
  ]
22
22
  )
23
23
  })