Closed dzid26 closed 4 months ago
This .default attribute somehow fixes TypeError: n(...).parse is not a function errors https://github.com/jbenden/vscode-c-cpp-flylint/issues/180
.default
TypeError: n(...).parse is not a function
The change was inspired by https://github.com/node-config/node-config/issues/755#issuecomment-1886617466 - I don't know how any of this works.
I verified that json5 parser is indeed used with this, because it parses a c_cpp_properties.json that has comments generated by Platformio.
c_cpp_properties.json
Thanks for the information, I came up with a fix that seems to work no matter what.
Thanks again!
This
.default
attribute somehow fixesTypeError: n(...).parse is not a function
errors https://github.com/jbenden/vscode-c-cpp-flylint/issues/180The change was inspired by https://github.com/node-config/node-config/issues/755#issuecomment-1886617466 - I don't know how any of this works.
I verified that json5 parser is indeed used with this, because it parses a
c_cpp_properties.json
that has comments generated by Platformio.