Dulma Churchill
9ae19d01d0
Make the is_global_var not fire for the static local variables
...
Reviewed By: jberdine, ryanrhee
Differential Revision: D3741764
fbshipit-source-id: 42be7f7
8 years ago
Dulma Churchill
07bf714d91
Put current method in context
...
Reviewed By: jvillard
Differential Revision: D3741728
fbshipit-source-id: 6710016
8 years ago
Dulma Churchill
b7ec110ea3
Adding new mode linters
...
Summary:
Adding a new mode linters. Now if the analyzer is linters, we do the linters and don't translate,
then, if the analyzer is Infer, we do the translation and the backend and not the linters checks, and the
default is that we do capture, backend and lint checks.
Made the tests separated, which saves time and also shows that the linters mode works.
Reviewed By: jvillard
Differential Revision: D3723472
fbshipit-source-id: 9d828d8
8 years ago
Martino Luca
6840efdd1c
fix imports in MutableLocalVariableTest
...
Reviewed By: jvillard
Differential Revision: D3716774
fbshipit-source-id: 8b1239b
8 years ago
Ryan Rhee
e81e43456b
Test mutable local variables in CK files
...
Reviewed By: jvillard
Differential Revision: D3694032
fbshipit-source-id: c06b049
8 years ago
Ryan Rhee
d594a525ac
Test that CK rules don't fire in non-component files
...
Reviewed By: jvillard
Differential Revision: D3694101
fbshipit-source-id: 1c2913f
8 years ago
Ryan Rhee
e2ff6e58a5
`buck test componentkit` boilerplate
...
Reviewed By: jvillard
Differential Revision: D3693997
fbshipit-source-id: de64bbe
8 years ago
Ryan Rhee
d2a4028881
Call decl checkers on DeclStmt statements
...
Reviewed By: jvillard
Differential Revision: D3649322
fbshipit-source-id: 60b1b92
8 years ago
Martino Luca
f64be4596b
Implement containsOnlyLines matcher for tests
...
Reviewed By: jvillard
Differential Revision: D3648820
fbshipit-source-id: c4332f1
8 years ago
Dulma Churchill
8b0b485921
Refactoring of tests, separating the tests for linters
...
Reviewed By: sblackshear
Differential Revision: D3569981
fbshipit-source-id: 198647b
9 years ago
Dino Distefano
aae1dbac3d
Skipping reporting global variable warning on known non-expensive cases.
...
Reviewed By: dulmarod
Differential Revision: D3298191
fbshipit-source-id: 8b3a38b
9 years ago