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' }