react-ace
react-ace copied to clipboard
mode:json how to set the json syntax check?
Problem
Hello, thanks for your nice job.
I use mode='json'
, how can I enable json syntax check, and show a lint? like this:
I'm very looking forward to your reply ^^
Sample code to reproduce your issue
References
Progress on: #
I have the same problem
@Rayyyz @LynnHg
Validation was performed normally when the following modules were imported.
import 'ace-builds/webpack-resolver'
@Rayyyz @LynnHg
Validation was performed normally when the following modules were imported.
import 'ace-builds/webpack-resolver'
Not working for me?
Any solution?
@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",