jsfiddle / jsfiddle-users

Discussions, issues and docs for JSFiddle.
https://jsfiddle.net
314 stars 114 forks source link

Update linter (current JSHint version is ancient) #1855

Closed oskarkrawczyk closed 6 months ago

oskarkrawczyk commented 6 months ago

We currently use JSHint that hasn't been updated in almost two years, causing more and more incorrect warnings as ECMAScript is evolving.

After doing some research there are two options:

A few user reported issues are caused by the ancient linter:

oskarkrawczyk commented 6 months ago

Go back to JSLint which was brought to life in recent years and seems to work ok

It looks like JSLint is even more opinionated than my grandma on easter dinner. It doesn't recognize JS class as a good part of JS, hence no support which is absolutely insane to me.

Doesn't look like JSLint is a viable option after all.

oskarkrawczyk commented 6 months ago

Replaced linter with the newest version of ESLint.