Skip to content

Commit

Permalink
"eslint-loader not found"
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Oct 12, 2023
1 parent 00de5c5 commit 32c4fc9
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/lib/package-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,6 @@ module.exports = (pathToProject, entry, baseEslintPath, options = {}) => {
'node_modules',
],
},
module: {
rules: [
{
enforce: 'pre',
test: /\.js$/,
loader: 'eslint-loader',
exclude: /node_modules/,
options: {
baseConfig: baseEslintConfig,
useEslintrc: true,
ignore: !options.skipEslintIgnore,

// pack the library regardless of the eslint result
failOnError: false,
failOnWarning: false,
},
},
],
},
plugins: [
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), // Ignore all optional deps of moment.js
]
Expand Down

0 comments on commit 32c4fc9

Please sign in to comment.