Donny/강동윤
d1097ccb59
feat(css/parser): Store lexed comments ( #8091 )
...
**Description:**
For now, we leave every comment as a leading comment. As logic for determining leading vs trailing is quite complex, I'll do it with another PR.
2023-10-10 11:42:20 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc
to nightly-2023-03-20
( #7170 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-30 08:06:02 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade ( #7162 )
...
**Description:**
The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +09:00
Donny/강동윤
e445502072
build(cargo): Update rustc
to nightly-2023-03-28
( #7154 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-29 06:24:19 +00:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13
( #6920 )
2023-03-14 04:56:21 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw
( #6674 )
2022-12-22 01:36:36 +00:00
Alexander Akait
2571070148
feat(css/parser): Normalize and improve function name ( #6667 )
2022-12-20 12:43:58 +00:00
Alexander Akait
b257d5d591
feat(css/parser): Normalize hex colors ( #6652 )
2022-12-15 04:34:07 +00:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests ( #6539 )
2022-11-29 09:47:56 +00:00
Donny/강동윤
b8fe04f720
feat(common): Add contexts to the error messages ( #6526 )
...
**Description:**
This PR makes the error reporter print contexts.
**Related issue:**
- https://github.com/swc-project/swc/issues/6525 .
2022-11-29 00:56:47 +09:00
Alexander Akait
6cafeb2bcc
refactor(css/parser): Refactor even more ( #6288 )
2022-10-29 08:28:39 +00:00
Alexander Akait
2813acccc2
fix(css/parser): Fix various issues ( #6281 )
2022-10-28 04:34:23 +00:00
Alexander Akait
a0e4684476
refactor(css/parser): Refactor more ( #6251 )
2022-10-26 19:22:27 +09:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST ( #4189 )
2022-04-01 20:53:23 +09:00
Edwin Coronado
57802cfcce
fix(common): Fix the line number of errors ( #4082 )
2022-03-19 23:56:12 +09:00
Donny/강동윤
40b8a4e596
feat(common): Implement a pretty error reporter ( #3946 )
2022-03-13 19:07:18 +00:00
Pig Fang
59c84ac8bd
feat(css/lints): Implement no-duplicate-at-import-rules
rule ( #3833 )
2022-03-08 08:06:23 +00:00
Pig Fang
19ececcd50
feat(css/lints): Implement custom-property-no-missing-var-function
rule ( #3890 )
2022-03-07 23:01:18 +00:00
Pig Fang
dc0de58a46
feat(css/lints): Allow using regex in ignore list ( #3855 )
2022-03-05 18:31:52 +00:00
Pig Fang
90fdbab0d6
fix(css/lints): Allow empty @layer
at-rule before @import
at-rule ( #3842 )
2022-03-04 11:41:44 +00:00
Pig Fang
818b408573
feat(css/lints): Implement color-hex-alpha
rule ( #3829 )
2022-03-03 13:36:44 +00:00
Pig Fang
2d273d60b9
feat(css/lints): Add font-family-no-duplicate-names
rule ( #3818 )
2022-03-03 11:28:17 +00:00
Pig Fang
e389bef3ad
feat(css/lints): Add selector-max-combinators
rule ( #3789 )
2022-03-01 07:45:15 +00:00
Pig Fang
66c6cae8dc
feat(css/lints): Add CSS linter ( #3765 )
2022-02-27 15:31:19 +00:00