prysm-pulse/shared/cmd
Radosław Kapka aaa3abf630
Shadowed Predeclared Indentifier analyzer (#7215)
* wip

* working for some ast nodes

* works for all but assignment

* works for all but mixed assignments

* change test name

* plug in the analyzer

* remove `copy` from predeclared list

* rename few shadowing names

* rename `len` to `length`

* add one more test case

* rename `panic` to `panicResult`

* replace `panic` with `panicResult` in error message

* remove test case not covered by the tool

* add `byte` to predeclared list

* additional test cases

* rename `copy` to `copyHandler`

* exclude functions with receivers

* revert to good names

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-09-14 12:49:15 +02:00
..
BUILD.bazel Refactor Wallet Password Handling, Preventing Wallet Corruption (#6933) 2020-08-10 18:54:40 +00:00
config_test.go Fix CMD Config and modify --historical-slasher-node (#6730) 2020-08-02 22:09:10 +00:00
config.go Fix CMD Config and modify --historical-slasher-node (#6730) 2020-08-02 22:09:10 +00:00
defaults.go Refactor Wallet Password Handling, Preventing Wallet Corruption (#6933) 2020-08-10 18:54:40 +00:00
flags.go Remove Custom Genesis Delay (#6827) 2020-08-01 16:11:36 +00:00
helpers_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
helpers.go Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
password_reader_mock.go External slashing protection (#5895) 2020-05-20 10:23:22 -05:00
password_reader.go Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
wrap_flags.go Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00