tailwind-lint 0.11.0 → 0.11.1
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/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_linter = require("./linter-
|
|
2
|
+
const require_linter = require("./linter-BBFc8gnJ.cjs");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_linter.__toESM(node_path, 1);
|
|
5
5
|
let ansis = require("ansis");
|
|
@@ -122,7 +122,7 @@ function resolveOptions(files, options) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function truncateFilename(filename) {
|
|
125
|
-
return filename.length > MAX_FILENAME_DISPLAY_LENGTH ? `...${filename.slice(-
|
|
125
|
+
return filename.length > MAX_FILENAME_DISPLAY_LENGTH ? `...${filename.slice(-50)}` : filename;
|
|
126
126
|
}
|
|
127
127
|
async function displayResults(files, fixMode) {
|
|
128
128
|
let totalErrors = 0;
|
|
@@ -469,6 +469,7 @@ function createEditorState(cwd) {
|
|
|
469
469
|
* Error thrown when adapter fails to load required modules
|
|
470
470
|
*/
|
|
471
471
|
var AdapterLoadError = class extends Error {
|
|
472
|
+
version;
|
|
472
473
|
constructor(version, cause) {
|
|
473
474
|
super(`Failed to load ${version} adapter: ${cause.message}`);
|
|
474
475
|
this.version = version;
|
package/dist/linter.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_linter = require("./linter-
|
|
2
|
+
const require_linter = require("./linter-BBFc8gnJ.cjs");
|
|
3
3
|
exports.extractImportSourceDirectives = require_linter.extractImportSourceDirectives;
|
|
4
4
|
exports.extractSourcePatterns = require_linter.extractSourcePatterns;
|
|
5
5
|
exports.lint = require_linter.lint;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwind-lint",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "A command-line tool that uses the Tailwind CSS IntelliSense plugin to show linting suggestions for your Tailwind CSS classes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -59,23 +59,23 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@tailwindcss/language-service": "^0.14.29",
|
|
62
|
-
"ansis": "^4.
|
|
62
|
+
"ansis": "^4.3.0",
|
|
63
63
|
"commander": "^14.0.3",
|
|
64
|
-
"postcss": "^8.5.
|
|
64
|
+
"postcss": "^8.5.15",
|
|
65
65
|
"tinyglobby": "^0.2.16",
|
|
66
66
|
"vscode-languageserver-textdocument": "^1.0.12"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@types/node": "^25.
|
|
70
|
-
"oxfmt": "^0.
|
|
71
|
-
"oxlint": "^1.
|
|
72
|
-
"tsdown": "^0.
|
|
69
|
+
"@types/node": "^25.9.1",
|
|
70
|
+
"oxfmt": "^0.51.0",
|
|
71
|
+
"oxlint": "^1.66.0",
|
|
72
|
+
"tsdown": "^0.22.0",
|
|
73
73
|
"typescript": "^6.0.3",
|
|
74
|
-
"vitest": "^4.1.
|
|
74
|
+
"vitest": "^4.1.7"
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
77
|
"node": ">=22.0.0",
|
|
78
78
|
"pnpm": ">=10.0.0"
|
|
79
79
|
},
|
|
80
|
-
"packageManager": "pnpm@
|
|
80
|
+
"packageManager": "pnpm@11.2.2"
|
|
81
81
|
}
|