Lint: Add tailwind linter (#5984)

## Summary

Adds the [tailwind lint
plugin](https://github.com/francoismassart/eslint-plugin-tailwindcss/?tab=readme-ov-file#eslint-plugin-tailwindcss)
and fixes the currently fixable rules ([v4 is still in
beta](https://github.com/francoismassart/eslint-plugin-tailwindcss/?tab=readme-ov-file#about-tailwind-css-4-support)).

## Changes

- **What**: Enforces things like consistent class order, and eventually
can prohibit extra classes that could be utilities instead
- **Dependencies**: The plugin and its types

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5984-Lint-Add-tailwind-linter-2866d73d365081d89db0d998232533bb)
by [Unito](https://www.unito.io)

---------

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Alexander Brown
2025-10-08 19:39:14 -07:00
committed by GitHub
parent c9da8b200d
commit b943c0fa75
177 changed files with 731 additions and 652 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div v-if="renderError" class="node-error p-2 text-red-500 text-sm">
<div v-if="renderError" class="node-error p-2 text-sm text-red-500">
{{ $t('Node Render Error') }}
</div>
<div
@@ -70,7 +70,7 @@
/>
<template v-if="!isCollapsed">
<div class="mb-4 relative">
<div class="relative mb-4">
<div :class="separatorClasses" />
<!-- Progress bar for executing state -->
<div
@@ -108,7 +108,7 @@
<img
:src="latestPreviewUrl"
alt="preview"
class="w-full max-h-64 object-contain"
class="max-h-64 w-full object-contain"
/>
</div>
</div>
@@ -117,7 +117,7 @@
<!-- Resize handle -->
<div
v-if="!isCollapsed"
class="absolute bottom-0 right-0 w-3 h-3 cursor-se-resize opacity-0 hover:opacity-20 hover:bg-white transition-opacity duration-200"
class="absolute right-0 bottom-0 h-3 w-3 cursor-se-resize opacity-0 transition-opacity duration-200 hover:bg-white hover:opacity-20"
@pointerdown.stop="startResize"
/>
</div>