summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-03-23 11:53:12 -0500
committerMike Greiling <mike@pixelcog.com>2018-03-23 11:53:12 -0500
commit569b06cf20b455c606171667d73003aff5520c0e (patch)
tree9b0c035ec2e3b019cb39a893240863a1bfd15baa
parent9238c5d5ca22d2fddc0c78a34dc063c8d3abb79e (diff)
downloadgitlab-ce-569b06cf20b455c606171667d73003aff5520c0e.tar.gz
update eslintignore for node scripts
-rw-r--r--.eslintignore5
-rw-r--r--scripts/frontend/frontend_script_utils.js1
-rw-r--r--scripts/frontend/prettier.js1
3 files changed, 3 insertions, 4 deletions
diff --git a/.eslintignore b/.eslintignore
index 1623b996213..33a8186fade 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,11 +1,12 @@
+/app/assets/javascripts/locale/**/app.js
+/config/
/builds/
/coverage/
/coverage-javascript/
/node_modules/
/public/
+/scripts/
/tmp/
/vendor/
karma.config.js
webpack.config.js
-svg.config.js
-/app/assets/javascripts/locale/**/app.js
diff --git a/scripts/frontend/frontend_script_utils.js b/scripts/frontend/frontend_script_utils.js
index bbc1203262d..e42b912d359 100644
--- a/scripts/frontend/frontend_script_utils.js
+++ b/scripts/frontend/frontend_script_utils.js
@@ -1,4 +1,3 @@
-/* eslint import/no-commonjs: "off" */
const execFileSync = require('child_process').execFileSync;
const exec = (command, args) => {
diff --git a/scripts/frontend/prettier.js b/scripts/frontend/prettier.js
index 94506eed619..2708340b48e 100644
--- a/scripts/frontend/prettier.js
+++ b/scripts/frontend/prettier.js
@@ -1,4 +1,3 @@
-/* eslint import/no-commonjs: "off", import/no-extraneous-dependencies: "off", no-console: "off" */
const glob = require('glob');
const prettier = require('prettier');
const fs = require('fs');