Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Linting and minor refactoring #127

Merged
merged 1 commit into from
May 2, 2016
Merged

Linting and minor refactoring #127

merged 1 commit into from
May 2, 2016

Conversation

christinebrass
Copy link
Contributor

@christinebrass christinebrass commented May 2, 2016

This PR consists of some re-organization and cleanup I did while going through the modules.

  • Use more consistent module naming conventions
  • Lint src, test and template directories and add a script for it (npm run lint)
  • Consolidate configuration into one directory so we know what is configuration vs. implementation code
  • Enhance the logging functionality by allowing multiple args to be used with console.log statements and refactor any console.log statements to using the logger


module.exports = function (name) {
const { version: gluestickVersion } = JSON.parse(fs.readFileSync(path.join(__dirname, "../../package.json"), "utf-8"));
// @TODO: check if docker is installed first
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we get a reference to a ticket for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@toddw
Copy link
Contributor

toddw commented May 2, 2016

👍

@toddw toddw merged commit 6a3690c into develop May 2, 2016
@christinebrass christinebrass deleted the cybrass/lint-and-refactor branch May 18, 2016 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants