Skip to content

Commit

Permalink
fix: fixed eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLzq committed Dec 12, 2021
1 parent 57f8580 commit 1405884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions example/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/dist
.eslintrc.js
webpack.config.js
/dist
5 changes: 1 addition & 4 deletions lib/src/functions/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ module.exports = async projectName => {
}
`,
eslintFile: '.eslintrc.js',
eslintIgnoreContent: `/dist
.eslintrc.js
webpack.config.js
`,
eslintIgnoreContent: '/dist',
eslintIgnoreFile: '.eslintignore'
}

Expand Down

0 comments on commit 1405884

Please sign in to comment.