Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit 8c4945b

Browse files
committed
🎉 First commit
0 parents  commit 8c4945b

31 files changed

+1492
-0
lines changed

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# Change these settings to your own preference
11+
indent_style = space
12+
indent_size = 4
13+
14+
# We recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
# Tab indentation (no size specified)
24+
[Makefile]
25+
indent_style = tab
26+
27+
# Matches the exact files either package.json or bower.json
28+
[{package.json,bower.json,.jscsrc,.jshintrc,.jshintrc-spec}]
29+
indent_style = space
30+
indent_size = 2

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/templates

.eslintrc.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// rule reference: http://eslint.org/docs/rules
2+
// individual rule reference: http://eslint.org/docs/rules/NAME-OF-RULE
3+
module.exports = {
4+
extends: 'airbnb-base',
5+
env: {
6+
es6: true,
7+
node: true,
8+
},
9+
rules: {
10+
strict: [0],
11+
'prefer-spread': [0],
12+
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
13+
'prefer-arrow-callback': ['error', { allowNamedFunctions: true }],
14+
'no-console': [0],
15+
'global-require': [0],
16+
'import/no-dynamic-require': [0],
17+
},
18+
};

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @EvanLovely @blaryjp

.github/CODE_OF_CONDUCT.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [[email protected]](mailto:[email protected]). All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [http://contributor-covenant.org/version/1/4][version]
72+
73+
[homepage]: http://contributor-covenant.org
74+
[version]: http://contributor-covenant.org/version/1/4/

.github/CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
First you'll want to clone this repo next to the repo you are working on.
2+
3+
```
4+
my-project/ (repo)
5+
- package.json
6+
- node_modules/
7+
- gulp-drupal-theme-core/
8+
gulp-drupal-theme-core/ (repo)
9+
```
10+
11+
While in `my-project/`, symlink the `gulp-drupal-theme-core/` that is a repo into your `node_modules/` directory with `npm link` like so:
12+
13+
npm link ../gulp-drupal-theme-core/
14+
15+
This will replace `node_modules/gulp-drupal-theme-core/` with a symlink to the `gulp-drupal-theme-core` repo.
16+
17+
Now you can make changes and contribute!
18+
19+
## Acceptance Criteria
20+
21+
- Passes `npm test` - Travis runs this and will report it on your PR
22+
- Branch off `master` and into a `feature/name-of-it` - no `develop` branch going
23+
- If you add new config, add it to `gulpfile.default.yml`
24+
25+
### Bonus Points
26+
27+
Adding a new test. See `tests/css/css.test.js`
28+
29+
# Testing
30+
31+
To test: `npm test`
32+
33+
To start watches for tests: `npm start`

.github/ISSUE_TEMPLATE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### Description
2+
3+
<!-- Required -->
4+
<!-- Description of the issue -->
5+
6+
### Steps to Reproduce
7+
8+
<!-- Required -->
9+
1. [First Step]
10+
2. [Second Step]
11+
3. [and so on...]
12+
13+
**Expected behavior:**
14+
15+
<!-- What you expect to happen-->
16+
17+
**Actual behavior:**
18+
19+
<!-- What actually happens -->
20+
21+
**Reproduces how often:**
22+
<!-- What percentage of the time does it reproduce?-->
23+
24+
### Additional Information
25+
<!-- optional -->
26+
<!-- Any additional information, configuration or data that might be necessary to reproduce the issue. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### Requirements
2+
3+
* Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
4+
* All new code requires tests to ensure against regressions
5+
6+
## Title of the Pull Requests <!-- required -->
7+
8+
9+
### Description of the Change
10+
11+
<!-- required -->
12+
<!-- can be an aglomeration of commits bodies -->
13+
14+
### Benefits
15+
16+
<!-- optional -->
17+
<!-- What benefits will be realized by the code change? -->
18+
19+
### Possible Drawbacks
20+
21+
<!-- optional -->
22+
<!-- What are the possible side-effects or negative impacts of the code change? -->
23+
24+
### Applicable Issues
25+
26+
<!-- optional -->
27+
<!-- Enter any applicable Issues here -->

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
3+
tests/css/dest/
4+
5+
.idea
6+
npm-debug.log

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tests

0 commit comments

Comments
 (0)