Make ESLint configuration compatible with Pronto

pronto-eslint depends on eslintrb, which expects the `.eslintrc` file
in JSON format. So we're migrating the `.eslintrc.yml` file to JSON and
introducing a symbolic link so the `.eslintrc` file points to
`.eslintrc.json`.

We could also use pronto-eslint_npm, but unfortunately it's not
maintained anymore and the latest version is not compatible with Pronto
0.11.
This commit is contained in:
Javi Martín
2021-02-05 15:38:02 +01:00
parent 7cce24961e
commit 7c4c6d4ee0
3 changed files with 116 additions and 85 deletions

1
.eslintrc Symbolic link
View File

@@ -0,0 +1 @@
.eslintrc.json