oxlint-tailwindcss 1.3.3 → 1.3.4
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/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ let node_crypto = require("node:crypto");
|
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
let node_os = require("node:os");
|
|
6
|
-
//#region ../../node_modules/.pnpm/@oxlint+plugins@1.
|
|
6
|
+
//#region ../../node_modules/.pnpm/@oxlint+plugins@1.72.0/node_modules/@oxlint/plugins/index.js
|
|
7
7
|
/**
|
|
8
8
|
* Define a plugin.
|
|
9
9
|
*
|
|
@@ -785,7 +785,7 @@ function reattachImportant(bare, position) {
|
|
|
785
785
|
* `consistent-variant-order` (partitions them last) and
|
|
786
786
|
* `no-contradicting-variants` (they can't contradict a base class).
|
|
787
787
|
*/
|
|
788
|
-
const PSEUDO_ELEMENT_VARIANTS = new Set([
|
|
788
|
+
const PSEUDO_ELEMENT_VARIANTS = /* @__PURE__ */ new Set([
|
|
789
789
|
"before",
|
|
790
790
|
"after",
|
|
791
791
|
"file",
|
|
@@ -1760,7 +1760,7 @@ const IMPORT_RE = /@import\s+(?:url\(\s*)?['"]([^'"]+)['"]/g;
|
|
|
1760
1760
|
*/
|
|
1761
1761
|
function hashableContent(entryPath, entryContent) {
|
|
1762
1762
|
const parts = [entryContent];
|
|
1763
|
-
const seen = new Set([(0, node_path.resolve)(entryPath)]);
|
|
1763
|
+
const seen = /* @__PURE__ */ new Set([(0, node_path.resolve)(entryPath)]);
|
|
1764
1764
|
const visit = (cssPath, content, depth) => {
|
|
1765
1765
|
if (depth <= 0) return;
|
|
1766
1766
|
const baseDir = (0, node_path.dirname)(cssPath);
|
|
@@ -3324,7 +3324,7 @@ const enforceSortOrder = defineRule({
|
|
|
3324
3324
|
//#endregion
|
|
3325
3325
|
//#region src/rules/enforce-shorthand.ts
|
|
3326
3326
|
const VALUE_RE = /^(?:m[trbl]|mx|my|p[trbl]|px|py|[wh]|rounded-t[lr]|rounded-b[lr]|min-[wh]|max-[wh])-(.+)$/;
|
|
3327
|
-
const INVALID_SIZE_VALUES = new Set([
|
|
3327
|
+
const INVALID_SIZE_VALUES = /* @__PURE__ */ new Set([
|
|
3328
3328
|
"screen",
|
|
3329
3329
|
"dvw",
|
|
3330
3330
|
"dvh",
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -5,9 +5,9 @@ import { closeSync, existsSync, mkdirSync, openSync, readFileSync, renameSync, s
|
|
|
5
5
|
import { dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
6
6
|
import { tmpdir, userInfo } from "node:os";
|
|
7
7
|
//#region \0rolldown/runtime.js
|
|
8
|
-
var __require = /*
|
|
8
|
+
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
9
9
|
//#endregion
|
|
10
|
-
//#region ../../node_modules/.pnpm/@oxlint+plugins@1.
|
|
10
|
+
//#region ../../node_modules/.pnpm/@oxlint+plugins@1.72.0/node_modules/@oxlint/plugins/index.js
|
|
11
11
|
/**
|
|
12
12
|
* Define a plugin.
|
|
13
13
|
*
|
|
@@ -789,7 +789,7 @@ function reattachImportant(bare, position) {
|
|
|
789
789
|
* `consistent-variant-order` (partitions them last) and
|
|
790
790
|
* `no-contradicting-variants` (they can't contradict a base class).
|
|
791
791
|
*/
|
|
792
|
-
const PSEUDO_ELEMENT_VARIANTS = new Set([
|
|
792
|
+
const PSEUDO_ELEMENT_VARIANTS = /* @__PURE__ */ new Set([
|
|
793
793
|
"before",
|
|
794
794
|
"after",
|
|
795
795
|
"file",
|
|
@@ -1764,7 +1764,7 @@ const IMPORT_RE = /@import\s+(?:url\(\s*)?['"]([^'"]+)['"]/g;
|
|
|
1764
1764
|
*/
|
|
1765
1765
|
function hashableContent(entryPath, entryContent) {
|
|
1766
1766
|
const parts = [entryContent];
|
|
1767
|
-
const seen = new Set([resolve(entryPath)]);
|
|
1767
|
+
const seen = /* @__PURE__ */ new Set([resolve(entryPath)]);
|
|
1768
1768
|
const visit = (cssPath, content, depth) => {
|
|
1769
1769
|
if (depth <= 0) return;
|
|
1770
1770
|
const baseDir = dirname(cssPath);
|
|
@@ -3328,7 +3328,7 @@ const enforceSortOrder = defineRule({
|
|
|
3328
3328
|
//#endregion
|
|
3329
3329
|
//#region src/rules/enforce-shorthand.ts
|
|
3330
3330
|
const VALUE_RE = /^(?:m[trbl]|mx|my|p[trbl]|px|py|[wh]|rounded-t[lr]|rounded-b[lr]|min-[wh]|max-[wh])-(.+)$/;
|
|
3331
|
-
const INVALID_SIZE_VALUES = new Set([
|
|
3331
|
+
const INVALID_SIZE_VALUES = /* @__PURE__ */ new Set([
|
|
3332
3332
|
"screen",
|
|
3333
3333
|
"dvw",
|
|
3334
3334
|
"dvh",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint-tailwindcss",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Tailwind CSS linting rules for oxlint",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
"prepublishOnly": "pnpm run build"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@tailwindcss/node": "^4.3.
|
|
55
|
-
"tailwindcss": "^4.3.
|
|
54
|
+
"@tailwindcss/node": "^4.3.2",
|
|
55
|
+
"tailwindcss": "^4.3.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@oxlint/plugins": "catalog:",
|
|
59
59
|
"@tailwindcss/typography": "^0.5.20",
|
|
60
|
-
"@types/node": "^
|
|
61
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
60
|
+
"@types/node": "^26.0.1",
|
|
61
|
+
"@typescript/native-preview": "7.0.0-dev.20260630.1",
|
|
62
62
|
"oxlint": "catalog:",
|
|
63
63
|
"tailwindcss-animate": "^1.0.7",
|
|
64
|
-
"tsdown": "^0.22.
|
|
64
|
+
"tsdown": "^0.22.3",
|
|
65
65
|
"tw-animate-css": "^1.4.0",
|
|
66
66
|
"typescript": "^6.0.3",
|
|
67
67
|
"vitest": "^4.1.9"
|