1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Add basic linting of JSON files using eslint-plugin-json

By adding basic linting of JSON files, we can ensure that they're actually valid and prevent e.g. test-failures caused by *accidental* errors when editing the `test/test_manifest.json` file (something that I've done *many* times myself).

For now this simply uses the `recommended` configuration, but we can obviously tweak this later if/when needed. Please find additional information at https://github.com/azeemba/eslint-plugin-json
This commit is contained in:
Jonas Jenwald 2021-06-15 11:59:47 +02:00
parent 246d565e3b
commit 1cfaf07b82
5 changed files with 59 additions and 2 deletions

View file

@ -22,5 +22,5 @@
},
"files": [
"main.ts"
],
]
}