Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV-37: Lint custom javascript with eslint #223

Merged
merged 20 commits into from
Aug 16, 2023
Merged

DEV-37: Lint custom javascript with eslint #223

merged 20 commits into from
Aug 16, 2023

Conversation

jesconstantine
Copy link
Contributor

@jesconstantine jesconstantine commented Jun 7, 2023

This PR:

  • adds a new phing target for installing npm dependencies for the project and for Drupal core
  • adds this new phing target as a dependency for the existing code-review target
  • adds eslint as a step to the code-review target
  • removes .js files from phpmd.xml to ensure PHP linters are linting js files

Test this PR with palantirnet/drupal-skeleton#146

Comment on lines 283 to 290
<httpget url="https://docs.acquia.com/_downloads/cloud-memcache-d8+.php" dir="${build.dir}/${drupal.root}/sites/${drupal.site.dir}" filename="settings.acquia-memcache.php"/>
<composer command="require" composer="${composer.composer}">
<arg line="--working-dir ${application.startdir}"/>
<arg value="drupal/memcache"/>
</composer>
<composer command="require" composer="${composer.composer}">
<arg line="--working-dir ${application.startdir}"/>
<arg value="acquia/memcache-settings"/>
</composer>
Copy link
Contributor Author

@jesconstantine jesconstantine Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can roll this back once #226 is merged but this unblocks the build installer test step.

Copy link
Contributor

@patrickfweston patrickfweston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and the change in the drupal-skeleton project looks great!

@byrond byrond merged commit 5d7da7e into develop Aug 16, 2023
@byrond byrond deleted the dev-37-eslint branch August 16, 2023 20:37
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.

5 participants