From 569b06cf20b455c606171667d73003aff5520c0e Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 23 Mar 2018 11:53:12 -0500 Subject: [PATCH] update eslintignore for node scripts --- .eslintignore | 5 +++-- scripts/frontend/frontend_script_utils.js | 1 - scripts/frontend/prettier.js | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.eslintignore b/.eslintignore index 1623b996213f9..33a8186fade90 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 bbc1203262dc8..e42b912d359cf 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 94506eed6198b..2708340b48ef1 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');