pelias / schema

elasticsearch schema files and tooling
MIT License
40 stars 76 forks source link

linting + syntax checking #458

Open missinglink opened 4 years ago

missinglink commented 4 years ago

There is currently no linting or syntax checking enabled for this repo, which means that there are variable levels of code quality throughout the codebase.

There are a few options to set it up, all of which are fairly painful tasks:

I opted for the third option for a couple reasons:

I started doing the refactor and had to give up after ~30mins because it's such a horrible task, I'm going to leave this PR open to be finished another day.

I'd also be happy if this PR were superseded by another quicker method of getting linting + syntax checking enabled for this repo.

To view the remaining errors (~300):

git commit