Skip to content

ESLint: Ignore errors in test.js#18

Open
t5r7 wants to merge 2 commits intoportsoc:masterfrom
tomatport:ignore-linter-in-test.js
Open

ESLint: Ignore errors in test.js#18
t5r7 wants to merge 2 commits intoportsoc:masterfrom
tomatport:ignore-linter-in-test.js

Conversation

@t5r7
Copy link

@t5r7 t5r7 commented Jan 29, 2025

If one uses the portsoc linter config doing these tasks, they'll find their IDE still showing 105 errors in test.js, even if they have written tests in index.js 'perfectly.'

It might be an idea to only ignore specific errors that are inevitable in this scenario, like functions not being defined, rather than all errors?

A screenshot of an IDE: A list of errors, with sad red crosses and red underlined code

Screenshot of an IDE: a red cross, with the number '105' next to it

@t5r7
Copy link
Author

t5r7 commented Jan 30, 2025

Ahh just noticed this in dom101, will update this PR to match

https://github.com/portsoc/dom101/blob/83a158744ab230ff1e10ec915de76f140222a3f1/test.js#L1

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