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
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
This method only operates on arrays, however, and so the gruntConfig property in the default assets (a string) isn't being added to this union.
May I suggest changing the field in config/assets/default.js from gruntConfig: 'Gruntfile.js' to gruntConfig: ['Gruntfile.js'] so that it may be linted as expected?
Happy to submit a PR!
The text was updated successfully, but these errors were encountered:
Hi there,
As it stands, the Gruntfile makes use of the Lodash
union
method to specify the ESLinttarget
:_.union(defaultAssets.server.gruntConfig, defaultAssets.server.allJS, defaultAssets.client.js, testAssets.tests.server, testAssets.tests.client, testAssets.tests.e2e)
This method only operates on arrays, however, and so the
gruntConfig
property in the default assets (a string) isn't being added to this union.May I suggest changing the field in
config/assets/default.js
fromgruntConfig: 'Gruntfile.js'
togruntConfig: ['Gruntfile.js']
so that it may be linted as expected?Happy to submit a PR!
The text was updated successfully, but these errors were encountered: