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 a45547391..2ee601db5 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 a916180ac..e5a0bf095 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 3e902d45f..15c34674f 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 a41164988..a180e7afc 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 a804763df..5cea88cf8 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 f1b86df98..4cdd201c1 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 6b9e96c70..fc8ad8b8e 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');