Skip to content

Commit 2d3caaf

Browse files
committed
Fix linter by adding BrowserFS to linter
1 parent 2252a2b commit 2d3caaf

File tree

4 files changed

+59
-51
lines changed

4 files changed

+59
-51
lines changed

packages/app/src/app/components/CodeEditor/Monaco/workers/linter/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import Linter from 'eslint/lib/linter';
22

33
import monkeypatch from './monkeypatch-babel-eslint';
44

5+
self.importScripts(
6+
`${process.env.CODESANDBOX_HOST}/static/browserfs3/browserfs.min.js`
7+
);
8+
59
/* eslint-disable global-require */
610
const allRules = {
711
'import/first': require('eslint-plugin-import/lib/rules/first'),

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
25-
"@sentry/browser": "^4.6.6",
25+
"@sentry/browser": "^5.6.1",
2626
"@tippy.js/react": "^2.1.1",
2727
"babel-plugin-preval": "^3.0.1",
2828
"codesandbox-api": "^0.0.22",

standalone-packages/vscode-textmate/package-lock.json

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 51 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3276,56 +3276,56 @@
32763276
into-stream "^3.1.0"
32773277
lodash "^4.17.4"
32783278

3279-
"@sentry/browser@^4.6.6":
3280-
version "4.6.6"
3281-
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-4.6.6.tgz#58ac3de9956c8a7033f3830c3ee9e011c2bd133a"
3282-
integrity sha512-+9VsQ+oQYU+PYlLJG2ex7JCMSVQbnUvWPI2uZOofWdI9sWIPUub3boWItMzRQNQ1T4S3FZd4FqAWNFd3azdnBw==
3279+
"@sentry/browser@^5.6.1":
3280+
version "5.6.1"
3281+
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-5.6.1.tgz#9bb64d2b8371c70e3725b3f6a95835f3ca6ff8ee"
3282+
integrity sha512-EtuI3YUIXfSzbF2Z7c5UXcdkcjZj83Y0vj73kMXBxxYsmDkyU+KtJFFvonSUrLILMqYBNZXTgCrfglLfFkl7kA==
32833283
dependencies:
3284-
"@sentry/core" "4.6.6"
3285-
"@sentry/types" "4.5.3"
3286-
"@sentry/utils" "4.6.5"
3284+
"@sentry/core" "5.6.1"
3285+
"@sentry/types" "5.6.1"
3286+
"@sentry/utils" "5.6.1"
32873287
tslib "^1.9.3"
32883288

3289-
"@sentry/core@4.6.6":
3290-
version "4.6.6"
3291-
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-4.6.6.tgz#dea96a88533a3bdbdcc86ae18e35272c57e0fd20"
3292-
integrity sha512-7z9HKLTNr3zVBR3tBRheTxkkkuK2IqISUc5Iyo3crN2OecOLtpptT96f5XjLndBEL2ab39eCBPpA5OFjbpzrIA==
3289+
"@sentry/core@5.6.1":
3290+
version "5.6.1"
3291+
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.6.1.tgz#946f064cc500bf4cd2a1bac580192fe440b614c7"
3292+
integrity sha512-gK8XfkJIZLsBEQehkr2q2fdHI50B3yo4RXiixSZiNBVIzQ+1z3JcMssDzGwhbY81NHUzHZ7of3oQ4Ab4OGRI/g==
32933293
dependencies:
3294-
"@sentry/hub" "4.6.5"
3295-
"@sentry/minimal" "4.6.5"
3296-
"@sentry/types" "4.5.3"
3297-
"@sentry/utils" "4.6.5"
3294+
"@sentry/hub" "5.6.1"
3295+
"@sentry/minimal" "5.6.1"
3296+
"@sentry/types" "5.6.1"
3297+
"@sentry/utils" "5.6.1"
32983298
tslib "^1.9.3"
32993299

3300-
"@sentry/hub@4.6.5":
3301-
version "4.6.5"
3302-
resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-4.6.5.tgz#451def7bc8d90d9cc007f58f364b3ce305c4701a"
3303-
integrity sha512-v9vee8s8C1fK/DPtNOzv6r+AMbPDOWfnasouNcBUkbQUSN5wUNyCDvt51QbWaw5kMMY5TSqjdVqY6gXQZI0APQ==
3300+
"@sentry/hub@5.6.1":
3301+
version "5.6.1"
3302+
resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-5.6.1.tgz#9f355c0abcc92327fbd10b9b939608aa4967bece"
3303+
integrity sha512-m+OhkIV5yTAL3R1+XfCwzUQka0UF/xG4py8sEfPXyYIcoOJ2ZTX+1kQJLy8QQJ4RzOBwZA+DzRKP0cgzPJ3+oQ==
33043304
dependencies:
3305-
"@sentry/types" "4.5.3"
3306-
"@sentry/utils" "4.6.5"
3305+
"@sentry/types" "5.6.1"
3306+
"@sentry/utils" "5.6.1"
33073307
tslib "^1.9.3"
33083308

3309-
"@sentry/minimal@4.6.5":
3310-
version "4.6.5"
3311-
resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-4.6.5.tgz#64433d2c9fda69eedbb61855a7ff8905f7b19218"
3312-
integrity sha512-tf+J+uUNmSgzC7d9JSN8Ekw1HeBAX87Efa/jyFbzLvaw80oibvTiLSLqDjQ9PgvyIzBUuuPImkS2NpvPQGWFtg==
3309+
"@sentry/minimal@5.6.1":
3310+
version "5.6.1"
3311+
resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-5.6.1.tgz#09d92b26de0b24555cd50c3c33ba4c3e566009a1"
3312+
integrity sha512-ercCKuBWHog6aS6SsJRuKhJwNdJ2oRQVWT2UAx1zqvsbHT9mSa8ZRjdPHYOtqY3DoXKk/pLUFW/fkmAnpdMqRw==
33133313
dependencies:
3314-
"@sentry/hub" "4.6.5"
3315-
"@sentry/types" "4.5.3"
3314+
"@sentry/hub" "5.6.1"
3315+
"@sentry/types" "5.6.1"
33163316
tslib "^1.9.3"
33173317

3318-
"@sentry/types@4.5.3":
3319-
version "4.5.3"
3320-
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-4.5.3.tgz#3350dce2b7f9b936a8c327891c12e3aef7bd8852"
3321-
integrity sha512-7ll1PAFNjrBNX9rzy3P2qAQrpQwHaDO3uKj735qsnGw34OtAS8Xr8WYrjI14f9fMPa/XIeWvMPb4GMic28V/ag==
3318+
"@sentry/types@5.6.1":
3319+
version "5.6.1"
3320+
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.6.1.tgz#5915e1ee4b7a678da3ac260c356b1cb91139a299"
3321+
integrity sha512-Kub8TETefHpdhvtnDj3kKfhCj0u/xn3Zi2zIC7PB11NJHvvPXENx97tciz4roJGp7cLRCJsFqCg4tHXniqDSnQ==
33223322

3323-
"@sentry/utils@4.6.5":
3324-
version "4.6.5"
3325-
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-4.6.5.tgz#4c960524914311eb76bbd6ca7f80f4d98c04db7f"
3326-
integrity sha512-rTISJtRRbWsd3UE+TkA3QG1C0VzPKPW8w74tieBwYhtTCGmOHNwz2nDC/MZGbGj4OgDmNKKl4CCyQr88EX08hA==
3323+
"@sentry/utils@5.6.1":
3324+
version "5.6.1"
3325+
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.6.1.tgz#69d9e151e50415bc91f2428e3bcca8beb9bc2815"
3326+
integrity sha512-rfgha+UsHW816GqlSRPlniKqAZylOmQWML2JsujoUP03nPu80zdN43DK9Poy/d9OxBxv0gd5K2n+bFdM2kqLQQ==
33273327
dependencies:
3328-
"@sentry/types" "4.5.3"
3328+
"@sentry/types" "5.6.1"
33293329
tslib "^1.9.3"
33303330

33313331
"@sindresorhus/is@^0.7.0":
@@ -9654,7 +9654,7 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0:
96549654
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
96559655

96569656
console-feed@CompuIves/console-feed#build2, console-feed@^2.8.5:
9657-
version "2.8.9"
9657+
version "2.8.8"
96589658
resolved "https://codeload.github.com/CompuIves/console-feed/tar.gz/42f10eb3063f0f26ee9745c4c9e4542cb5591f46"
96599659
dependencies:
96609660
emotion "^9.1.1"
@@ -12195,19 +12195,20 @@ eslint-plugin-jsx-a11y@^6.0.3:
1219512195
has "^1.0.3"
1219612196
jsx-ast-utils "^2.0.1"
1219712197

12198-
eslint-plugin-jsx-a11y@^6.1.0:
12199-
version "6.2.1"
12200-
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.1.tgz#4ebba9f339b600ff415ae4166e3e2e008831cf0c"
12201-
integrity sha512-cjN2ObWrRz0TTw7vEcGQrx+YltMvZoOEx4hWU8eEERDnBIU00OTq7Vr+jA7DFKxiwLNv4tTh5Pq2GUNEa8b6+w==
12198+
eslint-plugin-jsx-a11y@^6.2.3:
12199+
version "6.2.3"
12200+
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa"
12201+
integrity sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==
1220212202
dependencies:
12203+
"@babel/runtime" "^7.4.5"
1220312204
aria-query "^3.0.0"
1220412205
array-includes "^3.0.3"
1220512206
ast-types-flow "^0.0.7"
1220612207
axobject-query "^2.0.2"
1220712208
damerau-levenshtein "^1.0.4"
1220812209
emoji-regex "^7.0.2"
1220912210
has "^1.0.3"
12210-
jsx-ast-utils "^2.0.1"
12211+
jsx-ast-utils "^2.2.1"
1221112212

1221212213
[email protected], eslint-plugin-react-hooks@^1.6.0:
1221312214
version "1.6.0"
@@ -18928,6 +18929,14 @@ jsx-ast-utils@^2.0.0, jsx-ast-utils@^2.0.1:
1892818929
dependencies:
1892918930
array-includes "^3.0.3"
1893018931

18932+
jsx-ast-utils@^2.2.1:
18933+
version "2.2.1"
18934+
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz#4d4973ebf8b9d2837ee91a8208cc66f3a2776cfb"
18935+
integrity sha512-v3FxCcAf20DayI+uxnCuw795+oOIkVu6EnJ1+kSzhqqTZHNkTZ7B66ZgLp4oLJ/gbA64cI0B7WRoHZMSRdyVRQ==
18936+
dependencies:
18937+
array-includes "^3.0.3"
18938+
object.assign "^4.1.0"
18939+
1893118940
jszip@^3.1.3:
1893218941
version "3.1.5"
1893318942
resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.1.5.tgz#e3c2a6c6d706ac6e603314036d43cd40beefdf37"

0 commit comments

Comments
 (0)