mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-26 06:05:47 +08:00
ESLint 4 (#2735)
* Update eslint-loader 1.7.1 -> 1.9.0 * Add eslintPath option * Update eslint 3.19.0 -> 4.1.1 * Update peer dependencies * Move eslintPath config to outside @remove-on-eject
This commit is contained in:
committed by
Dan Abramov
parent
16f0d4a56c
commit
bbbc15dc8e
@@ -136,6 +136,7 @@ module.exports = {
|
||||
{
|
||||
options: {
|
||||
formatter: eslintFormatter,
|
||||
eslintPath: require.resolve('eslint'),
|
||||
// @remove-on-eject-begin
|
||||
baseConfig: {
|
||||
extends: [require.resolve('eslint-config-react-app')],
|
||||
|
||||
Reference in New Issue
Block a user