Dino Distefano
fb14d31bb7
Making signature of predicates uniform
...
Reviewed By: martinoluca
Differential Revision: D4507368
fbshipit-source-id: 4957426
8 years ago
Dulma Churchill
2c767fce74
[linters] Clean up the context passing mechanism and add context for if
...
Summary:
Passing the context was a bit messy and there was duplicated code. The flow is as follows:
For each node, we analyze that node and then it's children, and in some cases we use the parent node
for specifying a context for its children. Now this should be a bit more clear.
In the case of if, we specify a context based on the condition that is expected to be true inside the
if body, but not inside the else body. Here only the framework is set, more if conditions will be added to the
context in future diffs.
Reviewed By: martinoluca
Differential Revision: D4462247
fbshipit-source-id: 3512bd2
8 years ago
Ryan Rhee
b557b49921
[componentkit] Initializer rule should return multiple issues
...
Reviewed By: jvillard
Differential Revision: D4359088
fbshipit-source-id: cd6d075
8 years ago
Josh Berdine
2e66dcfac4
Open Core.Std by default, still use Caml Hashtbl, Map, Set
...
Reviewed By: cristianoc
Differential Revision: D4232458
fbshipit-source-id: 3d73c69
8 years ago
Ryan Rhee
28b741e62c
[componentkit] Compute Cyclomatic Complexity
...
Reviewed By: dulmarod
Differential Revision: D4203455
fbshipit-source-id: 9b19c25
8 years ago
Ryan Rhee
ccb51912e1
[componentkit] Compute line count for main file
...
Reviewed By: dulmarod
Differential Revision: D4160362
fbshipit-source-id: 649ab49
8 years ago
Dino Distefano
0ed033a32e
Removing the dispatcher for linters.
...
Reviewed By: dulmarod
Differential Revision: D4182551
fbshipit-source-id: af7c88e
8 years ago
Ryan Rhee
5580be8dcc
[componentkit] Initializer With Side-Effect Analyzer
...
Reviewed By: dulmarod
Differential Revision: D4063217
fbshipit-source-id: 7196a64
8 years ago
Ryan Rhee
c2a8dae26f
[componentkit] Multiple factory methods
...
Reviewed By: dulmarod
Differential Revision: D4033747
fbshipit-source-id: cf2801b
8 years ago
Ryan Rhee
e73350598a
[componentkit] Unconventional superclass rule
...
Reviewed By: dulmarod
Differential Revision: D3954639
fbshipit-source-id: 5d61c66
8 years ago
Ryan Rhee
272c21ff70
[componentkit] Factory functions analyzer
...
Reviewed By: dulmarod
Differential Revision: D3933693
fbshipit-source-id: 6294fb4
8 years ago
Ryan Rhee
da771ac5aa
Mutable local vars
...
Reviewed By: jvillard
Differential Revision: D3693969
fbshipit-source-id: e2cbd63
8 years ago
Ryan Rhee
8a40482fac
Detect when in CK
...
Reviewed By: jvillard
Differential Revision: D3693935
fbshipit-source-id: e381966
8 years ago