Infinite-Chess / infinitechess.org

Infinite Chess Web Server
https://www.infinitechess.org
GNU Affero General Public License v3.0
184 stars 41 forks source link

Nested arrays inside TOML files shows grammar warnings on some IDEs #277

Closed Naviary2 closed 1 week ago

Naviary2 commented 1 week ago
Screen Shot 2024-10-19 at 7 40 54 PM
xa31er commented 1 week ago

But it isn't actually discouraged in the docs. https://toml.io/en/v1.0.0#array

Naviary2 commented 1 week ago

But it isn't actually discouraged in the docs. https://toml.io/en/v1.0.0#array

What editor do you use?

xa31er commented 1 week ago

Vscode. When I think about it, it's probably just a recommendation, but it is odd nonetheless

Naviary2 commented 1 week ago

Oh, huh? I use vscode too and it doesn't give me a semantic error

xa31er commented 1 week ago

Yeah it doesn't bother me that much. It's probably just an extension going crazy.

Naviary2 commented 1 week ago

Screenshot of the error?

Do you have the eslint extension installed?

xa31er commented 1 week ago

I've solved it. It was a setting in the extension "Allow mixed arrays"

Naviary3 commented 1 week ago

Great!