Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add globals to ESLint config #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

WebMaestroFr
Copy link

No description provided.

@WebMaestroFr WebMaestroFr requested a review from ironmonk88 June 10, 2024 03:19
Comment on lines +37 to +68
"globals": {
"CONFIG": "readonly",
"CONST": "readonly",
"Actor": "readonly",
"Application": "readonly",
"ContextMenu": "readonly",
"Dialog": "readonly",
"Dlopen": "readonly",
"FilePicker": "readonly",
"Folder": "readonly",
"ForgeCompendiumBrowser": "readonly",
"ForgeCompendiumBrowserVue": "readonly",
"ForgeVTT": "readonly",
"FormDataExtended": "readonly",
"Hooks": "readonly",
"ImageHelper": "readonly",
"ImagePopout": "readonly",
"Item": "readonly",
"JournalEntry": "readonly",
"JournalSheet": "readonly",
"Scene": "readonly",
"Tabs": "readonly",
"Vue": "readonly",
"canvas": "readonly",
"dndbeyond_br": "readonly",
"foundry": "readonly",
"game": "readonly",
"getDocumentClass": "readonly",
"globalThis": "readonly",
"renderTemplate": "readonly",
"ui": "readonly"
},
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these variables might be better scoped if we call it from the client class. I will look into it once I am able to test the module properly.

I cannot find declaration or documentation for dndbeyond_br, getDocumentClass and renderTemplate: where is it coming from?

@WebMaestroFr WebMaestroFr changed the title Add globals to ESLint config, fix minor errors Add globals to ESLint config Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant