Commit Graph

2969 Commits

Author SHA1 Message Date
Jeroen Engels
04102ce097 Avoid List.head 2024-05-07 23:41:59 +02:00
Jeroen Engels
1c072d4b92 Use new function 2024-05-07 23:41:59 +02:00
Jeroen Engels
1bca6d3e95 Add missing imports in examples for Review.Test 2024-05-07 18:42:02 +02:00
Jeroen Engels
ce49f28c66 Add functions to test errors for extra files 2024-05-07 18:36:57 +02:00
Jeroen Engels
a9827b8baf Add expectation 2024-05-07 18:27:00 +02:00
Jeroen Engels
3b6027578c Rename rule 2024-05-07 18:18:52 +02:00
Jeroen Engels
955c3c56be Copy tests 2024-05-07 11:04:09 +02:00
Jeroen Engels
14132fbf29 Add example rule to report unused CSS classes 2024-05-07 00:55:52 +02:00
Jeroen Engels
bf40c54e2a Add REPLACEME for withExtraFilesProjectVisitor 2024-05-06 22:15:27 +02:00
Jeroen Engels
e2a8067855 Add docs+example for withExtraFilesModuleVisitor 2024-05-06 22:15:23 +02:00
Jeroen Engels
d842a6a48d Reformat @docs 2024-05-06 11:39:29 +02:00
Jeroen Engels
712052cdf9 Document ExtraFileKey and related functions 2024-05-06 00:50:17 +02:00
Jeroen Engels
0454d5edd4 Remove unused code 2024-05-06 00:26:33 +02:00
Jeroen Engels
306b8f1b7b Mention case sensitivity 2024-05-06 00:26:33 +02:00
Jeroen Engels
ec5ab00113 Add includeByDefault to FilePattern.match 2024-05-06 00:26:33 +02:00
Jeroen Engels
71cfd6187d Add tests for FilePatterns 2024-05-06 00:26:33 +02:00
Jeroen Engels
a6b365e173 Fix fuzz test 2024-05-06 00:26:33 +02:00
Jeroen Engels
14e37207f3 Add functions to remove extra files 2024-05-06 00:26:33 +02:00
Jeroen Engels
967c2a2736 Remove resolved TODO 2024-05-06 00:26:33 +02:00
Jeroen Engels
4fba576807 Add documentation to extra files 2024-05-06 00:26:33 +02:00
Jeroen Engels
d2c8aa06a5 Make Summary opaque 2024-05-06 00:26:33 +02:00
Jeroen Engels
3b041fa8a3 Add documentation for FilePattern 2024-05-06 00:26:33 +02:00
Jeroen Engels
c348e7b374 Add Project.diff 2024-05-06 00:26:33 +02:00
Jeroen Engels
110d458c75 Add Project functions to add files 2024-04-20 00:30:29 +02:00
Jeroen Engels
72b9650579 Combine extraFileHashes when turning into a ValidProject 2024-04-19 23:42:06 +02:00
Jeroen Engels
e401d54cce Rename to extraFiles 2024-04-17 23:08:52 +02:00
Jeroen Engels
a1cb9c05ff Remove original extraFiles 2024-04-17 23:05:34 +02:00
Jeroen Engels
2e04ae5f45 Use combined hash 2024-04-17 22:58:56 +02:00
Jeroen Engels
f505932b0c Use extraFiles2 everywhere 2024-04-17 00:52:29 +02:00
Jeroen Engels
757ebb6b5e Turn extra files into a Dict String String 2024-04-16 23:28:36 +02:00
Jeroen Engels
c2440e5644 Add to new extraFiles when adding extra files 2024-04-10 20:53:55 +02:00
Jeroen Engels
cc8b2f9d05 Make addExtraFiles add files instead of replacing them 2024-04-10 20:48:34 +02:00
Jeroen Engels
1d139cd385 Add ContentHash.nil 2024-04-10 20:45:39 +02:00
Jeroen Engels
b872bac7f6 Add new fields for extra files 2024-04-10 20:44:10 +02:00
Jeroen Engels
a821879eed Remove ContentHash equality functions 2024-04-10 20:34:24 +02:00
Jeroen Engels
1573cfa0ab Use regex to get the list of classes 2024-04-10 20:13:58 +02:00
Jeroen Engels
aa69758fa8 Add failing tests 2024-04-10 20:13:58 +02:00
Jeroen Engels
c969cba265 DEBUG 2024-04-10 20:13:58 +02:00
Jeroen Engels
5a197a22a0 Update file path to reflect rule name 2024-04-10 20:13:57 +02:00
Jeroen Engels
5ddaf8e76b Add REPLACEME documentation 2024-04-10 20:13:36 +02:00
Jeroen Engels
41b51e75d9 Documentation 2024-04-10 20:13:36 +02:00
Jeroen Engels
e3082e15ec Move the file pattern to be the last argument of withExtraFiles visitors 2024-04-10 20:13:36 +02:00
Jeroen Engels
a7f74497bf Add documentation for extra files 2024-04-10 20:13:36 +02:00
Jeroen Engels
d8ce5c7250 Use FilePattern 2024-04-10 20:13:36 +02:00
Jeroen Engels
5bed2f1439 Handle variable case 2024-04-10 20:13:36 +02:00
Jeroen Engels
733d1acd03 Add ModuleNameLookupTable to arguments 2024-04-10 20:13:36 +02:00
Jeroen Engels
03cddfb839 Add variant UngraspableExpression 2024-04-10 20:13:36 +02:00
Jeroen Engels
91bad94165 Understand case expressions 2024-04-10 20:13:36 +02:00
Jeroen Engels
79b36ab76a Understand if expressions 2024-04-10 20:13:36 +02:00
Jeroen Engels
e403c32f4a Add ClassFunction.fromExpression 2024-04-10 20:13:36 +02:00