react-ace icon indicating copy to clipboard operation
react-ace copied to clipboard

mode:json how to set the json syntax check?

Open LynnHg opened this issue 2 years ago • 7 comments

Problem

Hello, thanks for your nice job.

I use mode='json', how can I enable json syntax check, and show a lint? like this: image

I'm very looking forward to your reply ^^

Sample code to reproduce your issue

References

Progress on: #

LynnHg avatar Jul 19 '22 03:07 LynnHg

I have the same problem

Rayyyz avatar Aug 15 '22 13:08 Rayyyz

@Rayyyz @LynnHg

Validation was performed normally when the following modules were imported.

import 'ace-builds/webpack-resolver'

AsheKR avatar Sep 01 '22 06:09 AsheKR

@Rayyyz @LynnHg

Validation was performed normally when the following modules were imported.

import 'ace-builds/webpack-resolver'

Not working for me?

Any solution?

hanoj-budime avatar Sep 17 '22 04:09 hanoj-budime

@Rayyyz @LynnHg

Validation was performed normally when the following modules were imported.

import 'ace-builds/webpack-resolver'

I get plenty of Module not found: Error: Can't resolve 'file-loader' errors.

ERROR in ./node_modules/ace-builds/webpack-resolver.js 2:44-114
Module not found: Error: Can't resolve 'file-loader' in '/home/foo/development/foo/node_modules/ace-builds'
    "react-ace": "^10.1.0",
    "ace-builds": "^1.32.6",
    "next": "14.0.4",
    "react": "^18",
    "react-dom": "^18",

fabpico avatar Feb 14 '24 15:02 fabpico