Repository navigation
chore(local-explorer-ui): Add TailwindCSS ESLint & Prettier plugins #12819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e806caa
Added ESLint & Prettier plugins for TailwindCSS in Local Explorer UI
NuroDev e2989bd
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 28d2035
Simplified ESLint `callees`
NuroDev 755ed70
Fixed broken lockfile
NuroDev 8d2526b
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 358e81f
Fix TailwindCSS linting warnings in Local Explorer
NuroDev 2a9bf06
Fix TailwindCSS Prettier formatting in Local Explorer
NuroDev a0cf0c0
Minor ESLint fixes
NuroDev d4ef563
Fixed column constraint border class name
NuroDev 252769e
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 26ef213
Fixed studio constraint list editor border color
NuroDev fb3efa8
Fixed code formatting in `tailwind.css`
NuroDev f5dae0b
Minor code formatting fixes in ESLint config
NuroDev 594ba4f
Removed unused Tailwind CSS function names
NuroDev 71835c5
Fixed delete dialog confirmatiom button text color
NuroDev 4ea5eac
Minor studio display cell TailwindCSS linting fixes
NuroDev af14be4
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 50c3088
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 42dc3ce
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 1996f4b
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 85685da
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 7847e6f
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev 3c7ee54
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
emily-shen 62149e2
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
emily-shen efd1420
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
NuroDev ac91bb5
Merge branch 'main' into workers-sdk-local-explorer-frontend-linting
emily-shen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,22 @@ | ||
| import { dirname } from "node:path"; | ||
| import { fileURLToPath } from "node:url"; | ||
| import sharedConfig from "@cloudflare/eslint-config-shared/react"; | ||
| import tailwind from "eslint-plugin-tailwindcss"; | ||
| import { defineConfig } from "eslint/config"; | ||
|
|
||
| export default defineConfig([ | ||
| { | ||
| ignores: ["src/api/generated/**", "src/routeTree.gen.ts"], | ||
| }, | ||
| sharedConfig, | ||
| ...tailwind.configs["flat/recommended"], | ||
| { | ||
| settings: { | ||
| tailwindcss: { | ||
| callees: ["cn"], | ||
| config: | ||
| dirname(fileURLToPath(import.meta.url)) + "/src/styles/tailwind.css", | ||
| }, | ||
| }, | ||
| }, | ||
| ]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.