Linter Settings

Hi! Is there any way to check / change the linter settings somewhere? For example, I tried to import camera-controls.js from the botanical-blaster demo project into my own to reuse it, but eslint is not happy about the number of classes in one file.
image

I tried creating an .eslistrc file, but the file name / ending isnโ€™t allowed. Any hints? Thanks in advance!

Hi Felix!

You can add comments to disable specific Linter rules. To solve this problem try putting this above the line causing the issue:

/* eslint-disable max-classes-per-file */

Screenshot 2024-06-28 at 10.07.41 AM
The error message is gone!

I Hope this helps! Thanks for your patience while we continue to develop Studio. If you have any more questions feel free to reach out again!

2 Likes

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.