From 1405884ab10cf869d6811fbf588ba0b0efb04de2 Mon Sep 17 00:00:00 2001 From: AnthonyLzq Date: Sun, 12 Dec 2021 18:57:08 -0500 Subject: [PATCH] fix: fixed eslint ignore --- example/.eslintignore | 4 +--- lib/src/functions/eslint.js | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/example/.eslintignore b/example/.eslintignore index d32f923..3e22129 100644 --- a/example/.eslintignore +++ b/example/.eslintignore @@ -1,3 +1 @@ -/dist -.eslintrc.js -webpack.config.js +/dist \ No newline at end of file diff --git a/lib/src/functions/eslint.js b/lib/src/functions/eslint.js index f024e82..cf301b9 100644 --- a/lib/src/functions/eslint.js +++ b/lib/src/functions/eslint.js @@ -87,10 +87,7 @@ module.exports = async projectName => { } `, eslintFile: '.eslintrc.js', - eslintIgnoreContent: `/dist -.eslintrc.js -webpack.config.js -`, + eslintIgnoreContent: '/dist', eslintIgnoreFile: '.eslintignore' }