From 6b13d3eaa377ffd6e2e024d4ea20e3583d20c6d6 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 3 Nov 2022 21:33:37 -0700 Subject: [PATCH] Added eslint declarations. --- scripts/build-geo.js | 1 + scripts/check-lang.js | 1 + scripts/copy-db-files.js | 1 + scripts/download-country-names.js | 1 + scripts/download-language-names.js | 1 + scripts/merge-lang.js | 1 + scripts/update-tracker.js | 1 + 7 files changed, 7 insertions(+) diff --git a/scripts/build-geo.js b/scripts/build-geo.js index a4554739..2ee601db 100644 --- a/scripts/build-geo.js +++ b/scripts/build-geo.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ require('dotenv').config(); const fs = require('fs'); const path = require('path'); diff --git a/scripts/check-lang.js b/scripts/check-lang.js index a916180a..e5a0bf09 100644 --- a/scripts/check-lang.js +++ b/scripts/check-lang.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ const fs = require('fs'); const path = require('path'); const chalk = require('chalk'); diff --git a/scripts/copy-db-files.js b/scripts/copy-db-files.js index 3e902d45..15c34674 100644 --- a/scripts/copy-db-files.js +++ b/scripts/copy-db-files.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ require('dotenv').config(); const fse = require('fs-extra'); const path = require('path'); diff --git a/scripts/download-country-names.js b/scripts/download-country-names.js index a4116498..a180e7af 100644 --- a/scripts/download-country-names.js +++ b/scripts/download-country-names.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ const fs = require('fs-extra'); const path = require('path'); const https = require('https'); diff --git a/scripts/download-language-names.js b/scripts/download-language-names.js index a804763d..5cea88cf 100644 --- a/scripts/download-language-names.js +++ b/scripts/download-language-names.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ const fs = require('fs-extra'); const path = require('path'); const https = require('https'); diff --git a/scripts/merge-lang.js b/scripts/merge-lang.js index f1b86df9..4cdd201c 100644 --- a/scripts/merge-lang.js +++ b/scripts/merge-lang.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ const fs = require('fs'); const path = require('path'); const prettier = require('prettier'); diff --git a/scripts/update-tracker.js b/scripts/update-tracker.js index 6b9e96c7..fc8ad8b8 100644 --- a/scripts/update-tracker.js +++ b/scripts/update-tracker.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ require('dotenv').config(); const fs = require('fs'); const path = require('path');