Skip to content

Commit 371b4b5

Browse files
siddharthkpCompuIves
authored andcommitted
Browser compatible jsonlint (codesandbox#2392)
* create a browser compatible fork of jsonlint * remove outdated comment * remove jsonlint from deps
1 parent b57b421 commit 371b4b5

File tree

5 files changed

+721
-46
lines changed

5 files changed

+721
-46
lines changed

packages/app/config/webpack.common.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ module.exports = {
374374
],
375375
},
376376

377-
// To make jsonlint work
378-
externals: ['file', 'system', 'jsdom', 'prettier', 'cosmiconfig'],
377+
externals: ['jsdom', 'prettier', 'cosmiconfig'],
379378

380379
resolve: {
381380
mainFields: ['browser', 'module', 'jsnext:main', 'main'],

packages/common/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"humps": "CompuIves/humps",
3939
"image-extensions": "^1.1.0",
4040
"immer": "^3.2.0",
41-
"jsonlint": "^1.6.3",
4241
"lodash": "^4.17.11",
4342
"markty-toml": "^0.0.9",
4443
"memoize-one": "^3.1.1",

0 commit comments

Comments
 (0)