mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
c6d65508b2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8208 Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com> Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com> Co-authored-by: Toan Nguyen <1615675+hgiasac@users.noreply.github.com> Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com> Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com> Co-authored-by: gneeri <10553562+gneeri@users.noreply.github.com> GitOrigin-RevId: 454ee0dea636da77e43810edb2f427137027956c
19 lines
811 B
JSON
19 lines
811 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,
|
|
|
|
// adding this setting per this discussion on github:
|
|
// https://github.com/nrwl/nx/issues/9465#issuecomment-1080093295
|
|
"typescript.preferences.importModuleSpecifier": "project-relative",
|
|
"git.ignoreLimitWarning": true
|
|
}
|