Permalink
Please sign in to comment.
Browse files
Upgrade ESLint and dependencies, fix new lint errors, switch Travis t…
…o Yarn (#8309) * Update ESLint to 3.10.2 Also pull in fbjs for extending properly, per @zpao. This also disables consistent-return, which has about 80 failing cases in React currently. If we'd like to turn this back on, we should do it separately and fix all the call sites properly (rather than just adding 'return undefined;' everywhere, which adds no value. Fixes to all existing lint errors plus an update for yarn.lock to follow. * Update yarn.lock after the eslint update. * Fix all new eslint failures Unfortunately I had to add three eslint-disable-next-line instances. All have explanations inline. * Switch Travis to use yarn instead of npm
- Loading branch information...
Showing
with
1,518 additions
and 1,499 deletions.
- +6 −24 .eslintrc.js
- +11 −3 .travis.yml
- +6 −3 package.json
- +1 −1 scripts/facts-tracker/index.js
- +3 −0 src/addons/__tests__/renderSubtreeIntoContainer-test.js
- +8 −10 src/isomorphic/children/__tests__/ReactChildren-test.js
- +9 −16 src/isomorphic/classic/class/__tests__/ReactClassMixin-test.js
- +4 −2 src/isomorphic/classic/types/ReactPropTypes.js
- +6 −6 src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js
- +1 −1 src/isomorphic/classic/types/__tests__/ReactPropTypesProduction-test.js
- +22 −14 src/isomorphic/hooks/ReactComponentTreeHook.js
- +1 −1 src/isomorphic/modern/element/__tests__/ReactJSXElement-test.js
- +10 −10 src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
- +7 −7 src/renderers/dom/shared/__tests__/inputValueTracking-test.js
- +1 −1 src/renderers/dom/shared/dangerousStyleValue.js
- +1 −1 src/renderers/dom/shared/eventPlugins/__tests__/SelectEventPlugin-test.js
- +2 −2 src/renderers/dom/shared/eventPlugins/__tests__/SimpleEventPlugin-test.js
- +0 −5 src/renderers/dom/shared/validateDOMNesting.js
- +1 −1 src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
- +2 −2 src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
- +3 −3 src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
- +2 −2 src/renderers/dom/stack/client/__tests__/ReactMount-test.js
- +1 −1 src/renderers/dom/stack/server/__tests__/ReactServerRendering-test.js
- +2 −2 src/renderers/native/ReactNativeBaseComponent.js
- +2 −2 src/renderers/native/createReactNativeComponentClass.js
- +2 −0 src/renderers/shared/fiber/ReactFiberTreeReflection.js
- +2 −2 src/renderers/shared/shared/event/ReactSyntheticEventType.js
- +6 −10 src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
- +8 −9 src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
- +3 −3 src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
- +2 −0 src/renderers/testing/ReactTestRenderer.js
- +9 −2 src/renderers/testing/__tests__/ReactTestRenderer-test.js
- +2 −2 src/shared/utils/PooledClass.js
- +7 −9 src/shared/utils/__tests__/traverseAllChildren-test.js
- +1,365 −1,342 yarn.lock
30
.eslintrc.js
14
.travis.yml
Oops, something went wrong.
0 comments on commit
32f5b03