mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
7c804c8a82
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7897 GitOrigin-RevId: 4da175532c5422bd8985b9134f5aba7b190d05e0
14 lines
582 B
JSON
14 lines
582 B
JSON
{
|
|
"eslint.validate": ["json"],
|
|
"cSpell.words": ["clsx", "hasura", "citus"],
|
|
"tailwindCSS.experimental.classRegex": [
|
|
// detects in simple variables like const twFoo = `pt-2`;
|
|
"tw\\w+ ?= ?`([^`]*)`",
|
|
// detects tw strings in clsx function calls like: clsx('pt-2', 'relative');
|
|
["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^`]*)(?:'|\"|`)"],
|
|
// detects strings in objects and nested objects. Just prefix variable name with tw like so: const twStyleObject = {};
|
|
["tw\\w+ = {\\s+([^;]+)\\s+};", "(?:'|\"|`)([^`]*)(?:'|\"|`)"]
|
|
],
|
|
"tailwindCSS.rootFontSize": 14
|
|
}
|