pendulum-chain / pendulum-squids

The subsquid squids we use for Pendulum/Amplitude/Foucoco.
GNU General Public License v3.0
0 stars 0 forks source link

Fix eslint #63

Closed TorstenStueber closed 1 month ago

TorstenStueber commented 6 months ago

I observed some errors in the code that would have been easy to prevent with improved linting rules (or linting is set up incorrectly).

This is:

Context

This configuration change will make some errors less likely.

TorstenStueber commented 6 months ago

Seems like the eslint configuration in the project is just outdated and eslint does not work anymore. At least the npm scripts lint and lint:fix don't work.

prayagd commented 5 months ago

@TorstenStueber is this a very high priority one and what is it blocking or what functionality does it enable?

TorstenStueber commented 5 months ago

It's a chore to improve code quality and reduce silly errors.

gianfra-t commented 1 month ago

Eslint was working for me, so perhaps this was fixed during all this time. Created a PR after running lint:fix.