mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
3034988a3b
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8022 Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com> GitOrigin-RevId: 870474c4e4f546a4c3876416b93cf0d932a97de5
18 lines
777 B
JSON
18 lines
777 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"
|
|
}
|