Skip to content

Commit 7b69836

Browse files
authored
Merge pull request #3686 from reactjs/chore
Fix lint issue in test against new ESLint
2 parents fdbff8a + 6d8f402 commit 7b69836

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

examples/auth-flow-async-with-query-params/app.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ function requireCredentials(nextState, replace, next) {
6161
const query = nextState.location.query
6262
if (query.qsparam) {
6363
serverAuth(query.qsparam)
64-
.then(
65-
() => next(),
66-
() => {
67-
replace('/error')
68-
next()
69-
}
70-
)
64+
.then(
65+
() => next(),
66+
() => {
67+
replace('/error')
68+
next()
69+
}
70+
)
7171
} else {
7272
replace('/error')
7373
next()

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"react": "^0.14.0 || ^15.0.0"
4343
},
4444
"devDependencies": {
45-
"babel-cli": "^6.10.1",
46-
"babel-core": "^6.10.4",
45+
"babel-cli": "^6.11.4",
46+
"babel-core": "^6.11.4",
4747
"babel-eslint": "^6.1.2",
4848
"babel-loader": "^6.2.4",
4949
"babel-plugin-add-module-exports": "^0.2.1",
@@ -53,35 +53,35 @@
5353
"babel-preset-es2015-loose-native-modules": "^1.0.0",
5454
"babel-preset-react": "^6.11.1",
5555
"babel-preset-stage-1": "^6.5.0",
56-
"babel-register": "^6.9.0",
56+
"babel-register": "^6.11.6",
5757
"bundle-loader": "^0.5.4",
5858
"codecov": "^1.0.1",
5959
"cross-env": "^2.0.0",
6060
"css-loader": "^0.23.1",
61-
"eslint": "^3.0.1",
61+
"eslint": "^3.2.0",
6262
"eslint-config-rackt": "^1.1.1",
6363
"eslint-plugin-react": "^5.2.2",
6464
"expect": "^1.20.2",
6565
"express": "^4.14.0",
6666
"express-urlrewrite": "^1.2.0",
6767
"gzip-size": "^3.0.0",
6868
"isparta-loader": "^2.0.0",
69-
"karma": "^1.1.1",
69+
"karma": "^1.1.2",
7070
"karma-browserstack-launcher": "^1.0.1",
7171
"karma-chrome-launcher": "^1.0.1",
72-
"karma-coverage": "^1.1.0",
72+
"karma-coverage": "^1.1.1",
7373
"karma-mocha": "^1.1.1",
74-
"karma-mocha-reporter": "^2.0.4",
74+
"karma-mocha-reporter": "^2.0.5",
7575
"karma-sourcemap-loader": "^0.3.7",
7676
"karma-webpack": "^1.7.0",
7777
"mocha": "^2.5.3",
7878
"pretty-bytes": "^3.0.1",
79-
"qs": "^6.2.0",
79+
"qs": "^6.2.1",
8080
"react": "^15.3.0",
8181
"react-addons-css-transition-group": "^15.3.0",
8282
"react-addons-test-utils": "^15.3.0",
8383
"react-dom": "^15.3.0",
84-
"rimraf": "^2.5.3",
84+
"rimraf": "^2.5.4",
8585
"style-loader": "^0.13.1",
8686
"webpack": "^1.13.1",
8787
"webpack-dev-middleware": "^1.6.1"

0 commit comments

Comments
 (0)