mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 09:25:42 +08:00
Revert "Enable eslint caching in development" (#1665)
This commit is contained in:
@@ -114,14 +114,13 @@ module.exports = {
|
||||
test: /\.(js|jsx)$/,
|
||||
enforce: 'pre',
|
||||
use: [{
|
||||
// @remove-on-eject-begin
|
||||
// Point ESLint to our predefined config.
|
||||
options: {
|
||||
// @remove-on-eject-begin
|
||||
// Point ESLint to our predefined config.
|
||||
configFile: path.join(__dirname, '../.eslintrc'),
|
||||
useEslintrc: false,
|
||||
// @remove-on-eject-end
|
||||
cache: true
|
||||
useEslintrc: false
|
||||
},
|
||||
// @remove-on-eject-end
|
||||
loader: 'eslint-loader'
|
||||
}],
|
||||
include: paths.appSrc
|
||||
|
||||
Reference in New Issue
Block a user