Skip to content

Commit 2a05bd8

Browse files
Aditya Vohradiasbruno
Aditya Vohra
authored andcommitted
[chore] Updated eslint and a few related deps
1 parent b3701f6 commit 2a05bd8

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
"devDependencies": {
2525
"babel-cli": "^6.26.0",
2626
"babel-core": "^6.25.0",
27-
"babel-eslint": "^8.0.0",
27+
"babel-eslint": "^8.0.1",
2828
"babel-loader": "^7.1.2",
2929
"babel-plugin-add-module-exports": "^0.2.1",
3030
"babel-preset-es2015": "^6.24.1",
3131
"babel-preset-react": "^6.24.1",
3232
"babel-preset-stage-2": "^6.24.1",
3333
"coveralls": "^2.13.1",
3434
"cross-env": "^5.0.1",
35-
"eslint": "^4.7.1",
35+
"eslint": "^4.8.0",
3636
"eslint-plugin-jsx-a11y": "^6.0.2",
37-
"eslint-plugin-react": "^7.1.0",
37+
"eslint-plugin-react": "^7.4.0",
3838
"gitbook-cli": "^2.3.0",
3939
"istanbul-instrumenter-loader": "^3.0.0",
4040
"karma": "^1.3.0",

Diff for: src/helpers/ariaAppHider.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ export function tryForceFallback() {
3131
export function validateElement(appElement) {
3232
if (!appElement && !globalElement && !tryForceFallback()) {
3333
throw new Error([
34-
'react-modal: Cannot fallback to `document.body`, because it\'s not ready or available.',
35-
'If you are doing server-side rendering, use this function to defined an element.',
36-
'`Modal.setAppElement(el)` to make this accessible'
37-
]);
34+
'react-modal: Cannot fallback to `document.body`, because it is not',
35+
'ready or available. If you are doing server-side rendering, use this',
36+
'function to defined an element. `Modal.setAppElement(el)` to make',
37+
'this accessible',
38+
].join(' '));
3839
}
3940
}
4041

0 commit comments

Comments
 (0)