Commit Graph

1031 Commits

Author SHA1 Message Date
Jeroen Engels
63819d3fb7 Backport elm-review-debug 2021-01-24 16:43:58 +01:00
Jeroen Engels
fa8bc02068 Backport rules from elm-review-common 2021-01-19 21:45:35 +01:00
MartinSStewart
84c7828604 Fix some typos 2021-01-19 21:45:15 +01:00
Jeroen Engels
cb604c782f Backport unused and test-values 2020-12-23 19:12:04 +01:00
Jeroen Engels
640db10150 Handle source-directories starting with ./ for isInSourceDirectories 2020-12-21 21:45:59 +01:00
Jeroen Engels
2a4c93a0b4 Remove unused imports 2020-12-21 21:45:55 +01:00
Jeroen Engels
d889bbb194 v2.3.8 2020-12-08 00:13:09 +01:00
Jeroen Engels
8c2a284be4 Register exposed ports from other modules 2020-12-08 00:10:45 +01:00
Jeroen Engels
0ce41bbad5 Make moduleNameForValue also look at the types for dependency modules 2020-12-08 00:10:45 +01:00
Jeroen Engels
f044f9cd1d ModuleNameLookupTable: Add test to make sure that aliasing in patterns works 2020-12-06 14:30:39 +01:00
Jeroen Engels
b082ce7751 v2.3.7 2020-12-05 12:47:00 +01:00
Jeroen Engels
c6ca7ec9fe Backport elm-review-unused 2020-12-05 12:40:40 +01:00
Jeroen Engels
dd1ffc5266 Only add type aliases to the scope if they alias a record 2020-12-05 12:37:51 +01:00
Jeroen Engels
0146b90032 v2.3.6 2020-11-18 10:27:34 +01:00
Jeroen Engels
4741615afd Bump to elm-format 0.8.4 2020-11-18 10:27:34 +01:00
Jeroen Engels
fe248765c1 Update GitHub action node script 2020-11-18 10:27:34 +01:00
Jeroen Engels
13371a1af9 Backport rules from elm-review-noop 2020-11-18 10:16:23 +01:00
Jeroen Engels
ed1f40bbc3 Fix ModuleNameLookupTable not registering aliases from the prelude 2020-11-18 10:07:16 +01:00
Josh Bebbington
a2ab3f4007 Update references to jfmengels/review-unused 2020-10-26 19:47:47 +01:00
Jeroen Engels
ba05c7c74d v2.3.5 2020-10-24 00:20:26 +02:00
Jeroen Engels
d9389b54bd Register module names used in ports 2020-10-24 00:19:52 +02:00
Jeroen Engels
7ce8bf3f96 v2.3.4 2020-10-23 09:30:26 +02:00
Jeroen Engels
0bf974b569 Fix incorrect prelude 2020-10-22 23:12:34 +02:00
Jeroen Engels
d532bb9fb3 Remove Travis 2020-10-01 16:22:24 +02:00
dependabot[bot]
d1aef446cd
Bump lodash from 4.17.15 to 4.17.20 (#20)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 23:16:32 +02:00
Jeroen Engels
c1bdcf435f v2.3.3 2020-09-23 10:39:57 +02:00
Jeroen Engels
66f5375eaa ModuleNameLookupTableTest: Add tests for function declarations handling 2020-09-23 10:38:39 +02:00
Jeroen Engels
82037d4e5b ModuleNameLookupTableTest: Add signature texts 2020-09-23 10:30:47 +02:00
Jeroen Engels
efebce84d1 ModuleNameLookupTableTest: Refactor declaration visitor 2020-09-23 10:27:39 +02:00
Jeroen Engels
ccfcc99468 ModuleNameLookupTableTest: Add declaration visitor 2020-09-23 10:25:40 +02:00
Jeroen Engels
97c0e4abe9 Add test for handling pattern aliases 2020-09-23 10:21:35 +02:00
Jeroen Engels
5ebf38e283 Fix module name lookup table for pattern matching in case expressions
We were using moduleNameForType internally instead of moduleNameForValue,
which only worke when the name of the custom type is the same as the
name of the custom type constructor.
2020-09-23 10:14:06 +02:00
Jeroen Engels
c2488a06b0 Add failing test case for ModuleNameLookupTableTest 2020-09-23 10:12:19 +02:00
Jeroen Engels
b1b96c6dcf Backport rules from other projects 2020-09-23 08:11:51 +02:00
Jeroen Engels
bb14366da9 Update backport rule script 2020-09-22 19:40:13 +02:00
Jeroen Engels
80e4d87436 Use helper in declaration visitor 2020-09-22 19:08:17 +02:00
Jeroen Engels
75e535ce2a Use helper in expression visitor 2020-09-22 19:06:45 +02:00
Jeroen Engels
4ad35edde3 Add helper for showing the real name 2020-09-22 19:03:43 +02:00
Jeroen Engels
01e2f66fc7 Rename test module 2020-09-22 19:01:02 +02:00
Jeroen Engels
2208b410a0 Change test suite title 2020-09-22 19:00:15 +02:00
Jeroen Engels
e4acd4de29 Move code from ModuleNameForValueTest into ModuleNameForTypeTest 2020-09-22 18:59:34 +02:00
Jeroen Engels
bb0955c07b ModuleNameType: Creator rule dynamicaly 2020-09-22 18:56:30 +02:00
Jeroen Engels
6835173228 Bump elm-test 2020-09-22 18:51:36 +02:00
Jeroen Engels
81b68c4695 v2.3.2 2020-09-09 18:59:19 +02:00
Jeroen Engels
e925d0a25a Fix files not being evaluated when they're ignored in project rules without a folder 2020-09-09 18:50:42 +02:00
Jeroen Engels
02625de8d3 Fix error in withModuleContextUsingContextCreator documentation 2020-09-09 18:47:04 +02:00
Jeroen Engels
cf4bc46d1b 2.3.1 2020-09-08 10:08:10 +02:00
Jeroen Engels
744b700d50 Bump to elm-review v2.3.0 2020-09-08 10:07:11 +02:00
Jeroen Engels
3087e757a8 Fix module name lookup table not knowing about patterns inside let functions destructuring 2020-09-08 10:06:28 +02:00
Jeroen Engels
5badf38eb3 Bump elm-review version in local review configuration 2020-09-08 08:45:30 +02:00