Skip to content

Remove redundant 'jquery' global in .eslintrc.js and add 'browser' global for extension consistency#204

Open
MatrixNeoKozak wants to merge 1 commit into
Justineo:masterfrom
MatrixNeoKozak:scout-improvement-1780226759889
Open

Remove redundant 'jquery' global in .eslintrc.js and add 'browser' global for extension consistency#204
MatrixNeoKozak wants to merge 1 commit into
Justineo:masterfrom
MatrixNeoKozak:scout-improvement-1780226759889

Conversation

@MatrixNeoKozak
Copy link
Copy Markdown

The .eslintrc.js file declares '$' and 'Mustache' as globals, and 'jquery' is already set to true in the env. This is redundant and may cause confusion. Also, the 'browser' global is already declared in env, but the extension uses 'chrome' or 'browser' depending on context. Adding 'chrome' as a global helps linting for Chrome extension code. This is a minor cleanup to align with modern linting best practices.

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