Install eslint

This commit is contained in:
Aleksandr Statciuk 2022-06-17 20:00:40 +03:00
parent 588d5b73cf
commit 92559b99e7
4 changed files with 1285 additions and 15 deletions

View file

@ -12,6 +12,7 @@
"api:update": "node scripts/commands/api/update.js",
"api:load": "mkdir -p scripts/data && curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json && curl -L -o scripts/data/countries.json https://iptv-org.github.io/api/countries.json",
"readme:update": "node scripts/commands/readme/update.js",
"lint": "npx eslint ./scripts/**/*.js",
"test": "TZ=Pacific/Nauru npx jest --runInBand",
"test:commands": "npx jest --runInBand -- commands",
"test:sites": "TZ=Pacific/Nauru npx jest --runInBand -- sites",
@ -59,5 +60,8 @@
"tabletojson": "^2.0.7",
"transliteration": "^2.2.0",
"wildcard-match": "^5.1.2"
},
"devDependencies": {
"eslint": "^8.17.0"
}
}