Commit Graph

295 Commits (5b7f050df039a4385046b48b3ebb15295b33b998)

Author SHA1 Message Date
Brad Cornes 4424186e04 tweak postcss cleanup 2020-06-22 12:03:45 +01:00
Brad Cornes f7d4a36934 invalid @apply quick fix: check that base class name can be @applied 2020-06-21 16:05:46 +01:00
Brad Cornes 8c6ba84417 reuse @apply validation in hover provider 2020-06-21 01:38:08 +01:00
Brad Cornes 647b556a6c ignore purge option (#131) 2020-06-20 19:05:36 +01:00
Brad Cornes 2df85449a4 refactor invalid config path diagnostics 2020-06-19 18:52:37 +01:00
Brad Cornes 03e16a4ac0 detect indent from CSS text only 2020-06-19 14:40:49 +01:00
Brad Cornes 4686f1bf4b tidy up 2020-06-19 14:40:19 +01:00
Brad Cornes 4c0cff6c14 make invalidApply quick fix work with multiple selectors 2020-06-19 14:34:39 +01:00
Brad Cornes 614154c0fd tidy up code actions 2020-06-19 12:14:30 +01:00
Brad Cornes a0c6229688 tidy up 2020-06-19 11:52:38 +01:00
Brad Cornes 743f10ac3d don't provide quick fix for @apply class name which has multiple rules 2020-06-18 20:17:00 +01:00
Brad Cornes 6add64c19b make "invalid @apply" quick fix work in mixed-language documents 2020-06-18 19:58:54 +01:00
Brad Cornes a6a8f7e536 fix language boundary ranges 2020-06-18 19:52:17 +01:00
Brad Cornes 983cfe5ac7 replace js-levenshtein with sift-string 2020-06-18 14:53:20 +01:00
Brad Cornes 6cbd49a74a refactor "suggestion" quick fixes 2020-06-18 14:49:50 +01:00
Brad Cornes 7b916ab3c6 consolidate conflict diagnostics and update quick fixes 2020-06-18 14:22:28 +01:00
Brad Cornes 01941f967b add initial quick fix for utility conflict diagnostic 2020-06-18 12:23:31 +01:00
Brad Cornes b79dbfc9f9 refactor diagnostics and add types 2020-06-18 10:54:01 +01:00
Brad Cornes e79f72bda8 wip quick fix for invalid @apply 2020-06-17 18:34:53 +01:00
Brad Cornes d76119cab1 update diagnostic messages 2020-06-17 16:41:03 +01:00
Brad Cornes 329a50d8f5 add quick fixes for invalid screens/variants/helper keys/@tailwind 2020-06-16 16:49:52 +01:00
Brad Cornes 1de8af5de1 update error message wording 2020-06-16 16:49:08 +01:00
Brad Cornes f4507eea46 update lint setting names 2020-06-16 16:29:08 +01:00
Brad Cornes bb3605c9ad offer suggestions for unknown variants/screens/@tailwind 2020-06-16 15:41:45 +01:00
Brad Cornes 62b30d5da2 add types for js-levenshtein 2020-06-16 15:40:18 +01:00
Brad Cornes 4fb1e980e4 Merge branch 'master' into diagnostics 2020-06-16 15:14:11 +01:00
Brad Cornes 361e878539 update "invalid helper key" error conditions and messages 2020-06-16 15:14:04 +01:00
Brad Cornes aaa9bd9f2b fix class list offsets (fixes hover ranges) 2020-06-16 11:24:35 +01:00
Brad Cornes eb28c540c3 update module resolution (#128) 2020-06-16 10:41:26 +01:00
Brad Cornes 3de1b980ad ensure diagnostics are updated when the user's tailwind config changes 2020-06-15 19:00:03 +01:00
Brad Cornes 60cc17be77 rename unknownConfigKey to invalidHelperKey 2020-06-15 18:53:53 +01:00
Brad Cornes b052884ad4 update unknownConfigKey error messages 2020-06-15 18:40:19 +01:00
Brad Cornes 20c41600db make diagnostics settings language-overridable 2020-06-15 14:31:04 +01:00
Brad Cornes 47f0a8511f remove diagnostics settings enum descriptions 2020-06-15 11:24:35 +01:00
Brad Cornes 4f17e2358d enable diagnostics in multi-language documents 2020-06-15 11:24:05 +01:00
Brad Cornes 81aad28bc8 add initial "unsupported tailwind directive" lint rule 2020-06-12 17:34:59 +01:00
Brad Cornes 2c2f63a0b8 add initial "unknown config key" lint rule 2020-06-12 17:16:54 +01:00
Brad Cornes 5e63a12b48 add initial "unknown variant" lint rule 2020-06-12 16:56:02 +01:00
Brad Cornes 7c0247fb11 add initial "unknown screen" diagnostics 2020-06-12 16:41:49 +01:00
Brad Cornes 652052c1f4 add settings for utility conflict and unsupported apply lint rules 2020-06-12 16:22:04 +01:00
Brad Cornes eb0b8e55be Merge branch 'master' into diagnostics 2020-06-12 16:20:32 +01:00
Brad Cornes 44131edd93 update .vscodeignore 2020-06-12 13:12:29 +01:00
Brad Cornes 078626320a v0.3.1 2020-06-12 13:05:21 +01:00
Brad Cornes ba94fc8ce7 update settings descriptions and types 2020-06-12 12:39:41 +01:00
Brad Cornes e8cdb99164 restore readme images 2020-06-12 12:34:01 +01:00
Brad Cornes 30bb96f983 fix hover provider when using computed attribute in vue template 2020-06-12 12:30:12 +01:00
Brad Cornes cfd4e4fd07 update class attribute regex (#125) 2020-06-12 12:29:04 +01:00
Brad Cornes cd444aba6c make pseudo class name meta always an array 2020-06-12 11:42:40 +01:00
Brad Cornes de6273dad2 add initial class name conflict diagnostics 2020-06-12 11:41:39 +01:00
Brad Cornes d5b5176756 make pseudo class name meta always an array 2020-06-12 11:26:17 +01:00