Copy link to clipboard
Copied
For some reason the thread with the above problem of, "how to resolve js linting issues, concerning errors appearing as errors, when they are not actually errors" was closed - so much for open discussion.
I'm not wanting to reignite the topic of Dreamweaver's dated failings, I just want to offer a solution to the original problem, which resolved it for me.
After exhaustive research - I can't stand to see red on my javaScript document, so ignoring the bug was not a solution - I found a solution on Stackoverflow which says insert, to the top of Dreamweaver's linting document,
{
"parserOptions": {
"ecmaVersion": "latest",
},
"env": {
"es6": true
}
}
It worked for me.
regards.
Copy link to clipboard
Copied
I've unlocked the other thread and added your solution.
Hopefully it will help out other users who are struggling with DW's default Linting limitations.