You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current ESLint configuration does not support the "static" syntax used in the codebase.
This leads to parsing errors and unexpected token issues when running yarn eslint, specifically with statements like static targets = ['foo', 'bar'];.
Issue
The current ESLint configuration does not support the "static" syntax used in the codebase.
This leads to parsing errors and unexpected token issues when running
yarn eslint
, specifically with statements like static targets = ['foo', 'bar'];.We use
static
in our stimulus controllers.eg.
Expected
yarn eslint
should not throw error for valid JSDescribe what should be the correct behaviour.
Steps to reproduce
yarn eslint
on any file which usestatic
keyword which used to define static methodsThe text was updated successfully, but these errors were encountered: