Skip to content

Commit ac2e861

Browse files
author
Brian Vaughn
committed
Fixed a bunch of Lint issues
1 parent 51626ae commit ac2e861

File tree

140 files changed

+253
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+253
-305
lines changed

.eslintignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ scripts/bench/benchmarks/**/*.js
1212

1313
# React repository clone
1414
scripts/bench/remote-repo/
15+
16+
packages/react-devtools-core/dist
17+
packages/react-devtools-extensions/chrome/build
18+
packages/react-devtools-extensions/firefox/build
19+
packages/react-devtools-extensions/shared/build
20+
packages/react-devtools-inline/dist
21+
packages/react-devtools-shell/dist

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ chrome-user-data
2222
.vscode
2323
*.swp
2424
*.swo
25+
26+
packages/react-devtools-core/dist
27+
packages/react-devtools-extensions/chrome/build
28+
packages/react-devtools-extensions/chrome/*.crx
29+
packages/react-devtools-extensions/chrome/*.pem
30+
packages/react-devtools-extensions/firefox/build
31+
packages/react-devtools-extensions/firefox/*.xpi
32+
packages/react-devtools-extensions/firefox/*.pem
33+
packages/react-devtools-extensions/shared/build
34+
packages/react-devtools-inline/dist
35+
packages/react-devtools-shell/dist

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
packages/react-devtools-core/dist
2+
packages/react-devtools-extensions/chrome/build
3+
packages/react-devtools-extensions/firefox/build
4+
packages/react-devtools-extensions/shared/build
5+
packages/react-devtools-inline/dist
6+
packages/react-devtools-shell/dist

packages/react-devtools-core/src/backend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export function connectToDevTools(options: ?ConnectOptions) {
253253
}
254254
} catch (e) {
255255
console.error(
256-
'[React DevTools] Failed to parse JSON: ' + String(event.data),
256+
'[React DevTools] Failed to parse JSON: ' + (event.data: any),
257257
);
258258
return;
259259
}

packages/react-devtools-extensions/.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/react-devtools-extensions/.eslintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/react-devtools-extensions/.flowconfig

Lines changed: 0 additions & 35 deletions
This file was deleted.

packages/react-devtools-extensions/.gitignore

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/react-devtools-extensions/.prettierignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/react-devtools-extensions/.prettierrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)