Lint webide examples
Hi there,
This MR is the result of the use of lint_ligo linter on the examples of the webide.
Mainly:
- It changes deprecated variables to their new counterpart.
- As
get_force
do not have any counterpart, I made two specialized functions mimicking the original behavior.
- As
- Remove some unused variables.
But there is still some questions:
-
https://gitlab.com/nobrakal/ligo/-/blob/lint_webide_examples/src/test/examples/pascaligo/fa-1.2.ligo#L112
The variable
src
is marked as unused. How can we fix it? - Is there a way to avoid
let void : unit
in cameligo? See https://gitlab.com/nobrakal/ligo/-/blob/lint_webide_examples/src/test/examples/cameligo/id.mligo#L139
Edited by Alexandre Moine