Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !2735

ESLint 4

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/trungdq88/master into master Jul 06, 2017
  • Overview 2
  • Commits 5
  • Pipelines 0
  • Changes 4

Created by: trungdq88

Changes

  • Upgrades eslint-loader from 1.7.1 -> 1.9.0.
  • Add eslintPath option to eslint-loader
  • Upgrades ESLint from 3.19.0 to 4.1.1
  • Upgrades the unmet dependencies of ESlint 4.1.1.

Resolve related issues: https://github.com/facebookincubator/create-react-app/issues/2528, https://github.com/facebookincubator/create-react-app/issues/2604, https://github.com/facebookincubator/create-react-app/issues/2631

Tested with issue https://github.com/facebookincubator/create-react-app/issues/2528, verify with following script:

npm run create-react-app verify-issue-2528
cd verify-issue-2528
yarn add eslint
vim src/App.js # Add prop types to App.js

#  static propTypes = {
#    aoeu: React.PropTypes.any,
#  }

yarn run build # Should build success :tada:

Screenshot

image

Tests

Passed: https://travis-ci.org/trungdq88/create-react-app/builds/250878659

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/trungdq88/master