Commit Graph

7 Commits (bc2e5edd45f5f0e87632e6d9490b132c1d759f47)

Author SHA1 Message Date
Remco Haszing bc2e5edd45
Convert dlv require statements to imports (#521)
It was already imported in one place, that appears to work fine.

Using `require` results in invalid ESM output, because `require` is not
defined in ES modules.
2022-04-13 17:10:47 +01:00
Brad Cornes 86497bb380
Rework language boundary detection (#502)
* Fix `classRegex` error

* Rework language boundary detection
2022-03-02 17:16:35 +00:00
Brad Cornes 569635067c update css helper hovers 2021-07-12 15:23:16 +01:00
Brad Cornes 579d580896 update diagnostic message 2021-07-07 12:37:41 +01:00
Akihiro Okuno 1da2139684
Avoid `invalidConfigPath` for function values
Pass `validateConfigPath` if a type of value equals to `function`. The purpose of this commit is to avoid unwanted warnings when we define theme values as functions in tailwind.config.js, which, for example, are required to define theme colors with opacity enabled. https://github.com/tailwindlabs/tailwindcss/discussions/2206#discussioncomment-60081
2021-07-06 18:33:46 +09:00
Brad Cornes a72226c141 update settings schema 2021-05-04 12:40:50 +01:00
Brad Cornes ccf7cd57a7 separate out tailwindcss-language-service package 2020-10-08 16:20:54 +01:00