[LINTER] Prevent including a source file
Summary:
This linter detects the #include of *.c ,*.cc or *.cpp file.
Depends on D3333
Test Plan:
Modify src/init.cpp to include a *.c, *.cc or *.cpp file.
arc lint -- src/init.cpp
Check the linter detects the inclusion and thrown an error.
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D3318