Commit Graph

587 Commits

Author SHA1 Message Date
Jeroen Engels
c60be9ac6e Add test for if 2024-04-10 20:13:36 +02:00
Jeroen Engels
86ea5c4157 Cleanup CSS rule 2024-04-10 20:13:36 +02:00
Jeroen Engels
7af1d00dda Move CSS class functions over to ClassFunctions 2024-04-10 20:13:36 +02:00
Jeroen Engels
c8c6f43b2d Remove unused CssFunctions 2024-04-10 20:13:36 +02:00
Jeroen Engels
dda670a24f Add Class.none 2024-04-10 20:13:03 +02:00
Jeroen Engels
ffd24e20a4 Report error when function is missing some arguments 2024-04-10 20:13:03 +02:00
Jeroen Engels
43edf17433 Change CssFunctions data structure 2024-04-10 20:13:03 +02:00
Jeroen Engels
28eae8f47b Add test 2024-04-10 20:13:03 +02:00
Jeroen Engels
076884b912 Report stray classes 2024-04-10 20:13:03 +02:00
Jeroen Engels
7c2a0ff76b Extract function 2024-04-10 20:13:03 +02:00
Jeroen Engels
81f30678fc Collect locations where we find a class function 2024-04-10 20:13:03 +02:00
Jeroen Engels
675c596eab Add test 2024-04-10 20:13:03 +02:00
Jeroen Engels
75a6db06e1 Report Html.Attributes.attribute "class" 2024-04-10 20:13:03 +02:00
Jeroen Engels
9f9419b68a Add documentation for Css.NoUnknownClasses 2024-04-10 20:13:03 +02:00
Jeroen Engels
825ad01ea9 Extract ClassFunction 2024-04-10 20:13:03 +02:00
Jeroen Engels
22af4f62df Rename rule 2024-04-10 20:13:03 +02:00
Jeroen Engels
19d4917460 Rename builder function 2024-04-10 20:13:03 +02:00
Jeroen Engels
6039aed3e8 Take globs by default 2024-04-10 20:13:03 +02:00
Jeroen Engels
51e3bfb9e0 Clean up 2024-04-10 20:13:03 +02:00
Jeroen Engels
b6ba4b79a3 Display a list of similar classes 2024-04-10 20:13:03 +02:00
Jeroen Engels
e525d2f17b Support parsing classes with dashes and underscore 2024-04-10 20:13:03 +02:00
Jeroen Engels
efa46019ef Report when a CSS is not parsable 2024-04-10 20:13:03 +02:00
Jeroen Engels
eb0b55e0a1 Allow configuring custom CSS functions 2024-04-10 20:13:03 +02:00
Jeroen Engels
b8cd3084e0 Add Svg.class 2024-04-10 20:13:03 +02:00
Jeroen Engels
80cf29e232 Support Html.Attributes.classList 2024-04-10 20:13:03 +02:00
Jeroen Engels
b7c5fe655e Report an error when encountering a non-literal CSS class 2024-04-10 20:13:03 +02:00
Jeroen Engels
87011d4de6 Use appropriate cssUsingFunction 2024-04-10 20:13:03 +02:00
Jeroen Engels
4bf13eb865 Define css functions 2024-04-10 20:13:03 +02:00
Jeroen Engels
a1efb2cb41 Extract 2024-04-10 20:13:03 +02:00
Jeroen Engels
7802aabe2c Simplify parser even more 2024-04-10 20:13:03 +02:00
Jeroen Engels
59fba610ab Add naive and simplified CSS parser to get selectors 2024-04-10 20:13:03 +02:00
Jeroen Engels
7736e8305d Start CSS parser 2024-04-10 20:13:03 +02:00
Jeroen Engels
03b9bc835a Read CSS files 2024-04-10 20:13:03 +02:00
Jeroen Engels
d1cd1d7a8a Support pipes 2024-04-10 20:13:03 +02:00
Jeroen Engels
fc381e3399 Only pass range 2024-04-10 20:13:03 +02:00
Jeroen Engels
683b6152c1 Add tests for pipes 2024-04-10 20:13:03 +02:00
Jeroen Engels
0f5c391af7 Don't report if in known classes 2024-04-10 20:13:03 +02:00
Jeroen Engels
24ef80b056 Add configuration 2024-04-10 20:13:03 +02:00
Jeroen Engels
65036d6fae Report CSS classes 2024-04-10 20:13:03 +02:00
Jeroen Engels
6ce8e43b35 Init NoUnknownCssClasses 2024-04-10 20:13:03 +02:00
Jeroen Engels
ff61e64836 Rename excludeFolder to excludeDirectory 2024-04-10 20:13:03 +02:00
Jeroen Engels
80db5e178f Rename string to pattern 2024-04-10 20:13:03 +02:00
Jeroen Engels
6bb7aca1d3 Use FilePattern when requesting files 2024-04-10 20:13:03 +02:00
Jeroen Engels
0ca06e571b Add fuzz test for folders 2024-04-10 20:13:03 +02:00
Jeroen Engels
e24955c913 Format 2024-04-10 20:13:03 +02:00
Jeroen Engels
8a7580443c Specify fuzz test 2024-04-10 20:13:03 +02:00
Jeroen Engels
2fe0aebe60 describe 2024-04-10 20:13:03 +02:00
Jeroen Engels
122711db31 Make a record 2024-04-10 20:13:03 +02:00
Jeroen Engels
6cbb4dee17 fixup! WIP on a: a9eef342 Add fuzz test 2024-04-10 20:13:03 +02:00
Jeroen Engels
f8c003da55 Add fuzz test 2024-04-10 20:13:03 +02:00