Dulma Churchill
0887b28a65
[linters] Delete unused linters about ComponentKit
...
Summary: This linters were not used much anymore, so we can delete them.
Reviewed By: ngorogiannis
Differential Revision: D22233895
fbshipit-source-id: f31180a05
5 years ago
Kfir Schindelhaim
16391f6d63
Update CK fixtures
...
Reviewed By: aCorrado
Differential Revision: D19347465
fbshipit-source-id: ddb016dfa
5 years ago
Kfir Schindelhaim
33b3ea8b10
Update CK linter for subclasses
...
Reviewed By: cuva
Differential Revision: D19345410
fbshipit-source-id: 3aa4ef362
5 years ago
Josh Berdine
cfc1c8be36
[copyright] Remove years
...
Reviewed By: jvillard
Differential Revision: D15771884
fbshipit-source-id: e2997e3a3
6 years ago
Fabio Milano
499e6398b1
[CK][Linter Rule] Add CKRenderLayoutWithChildren component to Component Kit Conventional Superclass
...
Reviewed By: kfirapps, ddino
Differential Revision: D13590184
fbshipit-source-id: d4394839e
6 years ago
Fabio Milano
28c3ed50de
[CK][Linter Rule] Add CKRenderLayout component to Component Kit Conventional Superclass
...
Reviewed By: kfirapps, ddino
Differential Revision: D13590155
fbshipit-source-id: 1a9f4ba15
6 years ago
Fabio Milano
72f6540893
[CK][Linter Rule] Fix Component Kit Unconventional Superclass tests
...
Reviewed By: jeremydubreil
Differential Revision: D13433010
fbshipit-source-id: 81e16009d
6 years ago
Fabio Milano
afed12ad52
[CK][Linter Rule] Added CKRenderWithChildrenComponent as conventional component kit superclass
...
Reviewed By: mbouaziz
Differential Revision: D13432225
fbshipit-source-id: 57b933cce
6 years ago
Mehdi Bouaziz
ce34dcb695
Format everything
...
Reviewed By: jeremydubreil
Differential Revision: D10844347
fbshipit-source-id: 5a374da82
6 years ago
Jules Villard
8b882ac1df
Change license to MIT
...
Summary:
Change the license of the source code from BSD + PATENTS to MIT.
Change `checkCopyright` to reflect the new license and learn some new file
types.
Generated with:
```
git grep BSD | xargs -n 1 ./scripts/checkCopyright -i
```
Reviewed By: jeremydubreil, mbouaziz, jberdine
Differential Revision: D8071249
fbshipit-source-id: 97ca23a
7 years ago
Dulma Churchill
27a7f2e798
[linters] Do not report mutable local variable in weakSelf and strongSelf
...
Reviewed By: mbouaziz
Differential Revision: D7988399
fbshipit-source-id: aab2d10
7 years ago
Dulma Churchill
9f19f12a1b
[linters] Fix incorrect assert false in Component linters
...
Reviewed By: ddino
Differential Revision: D5706229
fbshipit-source-id: c3bd287
7 years ago
Dulma Churchill
4a6652faef
[linters] Do not report mutable local variable in components advice on static locals
...
Reviewed By: jberdine
Differential Revision: D5397446
fbshipit-source-id: eeeb9b4
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
Ryan Rhee
aac14999b0
[componentkit] Whitelist Native Templates
...
Reviewed By: tks2103
Differential Revision: D4090237
fbshipit-source-id: 63f233e
8 years ago
Ryan Rhee
a45d59e478
[componentkit] Don't count unavailable initializers
...
Reviewed By: tks2103
Differential Revision: D4090154
fbshipit-source-id: e0626e6
8 years ago
Ryan Rhee
5752b14d9c
[componentkit] Skip implicit variables during MLV check
...
Reviewed By: dulmarod
Differential Revision: D4084601
fbshipit-source-id: 1c919cd
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
a4501462cc
[componentkit] Reference fake header in build system test
...
Reviewed By: dulmarod
Differential Revision: D4033937
fbshipit-source-id: adccbd6
8 years ago
Jules Villard
7d49e16d63
[clang] rewrite hijack_and_normalize_clang_command in OCaml
...
Summary:
Let's start migrating some of our bash script to OCaml to make them easier to
maintain and extend.
For now replace just one script and put it in lib/clang_wrappers/ at compile
time, where the former script used to be. Further simplifications will come
later.
Reviewed By: jberdine
Differential Revision: D3929988
fbshipit-source-id: b2d8b37
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
967532ea2e
[componentkit][test] Rename test files
...
Reviewed By: dulmarod
Differential Revision: D3924307
fbshipit-source-id: 77ddfac
8 years ago
Ryan Rhee
df988dd051
[componentkit][test] Import proper fake header in second test
...
Reviewed By: dulmarod
Differential Revision: D3924245
fbshipit-source-id: 16a110a
8 years ago
Ryan Rhee
6475e358c4
[componentkit][const] Ignore NSError
...
Reviewed By: martinoluca
Differential Revision: D3912232
fbshipit-source-id: adc8a55
8 years ago
Ryan Rhee
7a434adea8
[componentkit][const] Whitelist certain classes
...
Reviewed By: martinoluca
Differential Revision: D3911399
fbshipit-source-id: c523779
8 years ago
Ryan Rhee
d2ac2242c4
[componentkit][test] typedef struct -> class
...
Reviewed By: dulmarod
Differential Revision: D3909628
fbshipit-source-id: 52e9539
8 years ago
Ryan Rhee
f54b84c751
[componentkit][test] Move mock CK imports to own .h file
...
Reviewed By: dulmarod
Differential Revision: D3909240
fbshipit-source-id: 66e8b71
8 years ago
Cristiano Calcagno
fe21442d47
[tests] Convert the linter tests to the new direct format
...
Reviewed By: jberdine
Differential Revision: D3877153
fbshipit-source-id: a0efb3c
8 years ago