Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 2.43 KB

CONTRIBUTING.md

File metadata and controls

70 lines (48 loc) · 2.43 KB

Contributing

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Reporting Issues and Asking Questions

Before opening an issue, please search the issue tracker to make sure your issue hasn't already been reported.

Development

Fork, then clone the repo:

git clone https://github.com/your-username/sass-resources-loader.git

To start development simply run:

yarn start

It will run linters, clear directory with previous build, create new build and run watchers to re-build on every change.

To develop your local version of module and use it in local test project use yarn link:

cd path/to/local/sass-resources-loader
yarn link

cd path/to/test-project
yarn link sass-resources-loader

It will create symlinks to your local sass-resources-loader, thus you don't have to reinstall it on every change.

Build

To create a build run:

yarn run prerelease

It will do the same things as yarn start, but without activating watchers.

Linting and Testing

To lint your code run:

yarn run lint

Example

sass-resources-loader comes with example to demonstrate how to implement it.

New Features

Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept.

Style

Shakacode is trying to keep a standard style across its various projects, which can be found over in eslint-config-shakacode. If you have a style change proposal, it should first be proposed there. If accepted, we will be happy to accept a PR to implement it here.

Submitting Changes

  • Open a new issue in the issue tracker.
  • Fork the repo.
  • Create a new feature branch based off the master branch.
  • Make sure there are no linting errors and all tests pass (if any).
  • Submit a pull request, referencing any issues it addresses.

Please try to keep your pull request focused in scope and avoid including unrelated commits.

After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements.

Thank you for contributing!