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
When migrating repos, there are issues with bringing some code forward and our new eslint rules. This issue is specifically seen when all other @babel resources are removed as part of the deprecation of IE support as they are not needed to generate a legacy ES5 version of a bundled component.
To Reproduce
Steps to reproduce the behavior:
Take any legacy repo
Migrate to latest generator build
Run build
See error
Expected behavior
We need to allow for this legacy code to carry forward and still apply eslint rules.
Solution
Install @babel/eslint-parser
This issue was recently discovered with work done to auro-tokenlist and was recently seen again with a migration of auro-hyperlink.
The text was updated successfully, but these errors were encountered:
The underlying issue in auro-tokenlist seemed to be using the newer null coalescing syntax, e.g. index.wcag?.ratio. I'd rather not add a babel dependency if we can avoid it. Can we update our ecmaVersion instead?
Updating the auro-tokenlist eslintrc to the following fixed the lint issue without installing @babel/eslint-parser as a dependency.
Well... this is getting interesting. It turns out that this addition is not the fix after all. I also just discovered that linters have been silently failing for some time now as the jsdoc linter isn't installed by default. e42b62f
Closing this issue. The real issue now is
When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-scss", and use the "customSyntax" optio
Describe the bug
When migrating repos, there are issues with bringing some code forward and our new eslint rules. This issue is specifically seen when all other
@babel
resources are removed as part of the deprecation of IE support as they are not needed to generate a legacy ES5 version of a bundled component.To Reproduce
Steps to reproduce the behavior:
Expected behavior
We need to allow for this legacy code to carry forward and still apply eslint rules.
Solution
Install @babel/eslint-parser
This issue was recently discovered with work done to auro-tokenlist and was recently seen again with a migration of auro-hyperlink.
The text was updated successfully, but these errors were encountered: