Skip to content

Commit

Permalink
WIP copying over template files
Browse files Browse the repository at this point in the history
  • Loading branch information
cjg89 committed Feb 11, 2019
1 parent 1013f60 commit e549750
Show file tree
Hide file tree
Showing 13 changed files with 526 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
[
"es2015",
"@babel/preset-env",
{
"modules": false,
"loose": true
Expand Down
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 4
trim_trailing_whitespace = true

[*.py]
indent_style = space

[*.php]
indent_style = tab

[*.{js,css,scss,sass,html}]
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore project config json files
package.json
.eslintrc.json
gulp-config.template.json
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"env": {
"browser": true,
"es6": true,
"jquery": true
"jquery": true,
"amd": true
},
"globals": {
"Cookies": true,
Expand Down Expand Up @@ -215,7 +216,7 @@
"no-useless-constructor": "error",
"no-useless-rename": "error",
"no-var": "error",
"object-shorthand": "error",
"object-shorthand": ["error", "never"], // MODIFIED webcom
"prefer-arrow-callback": "error",
"prefer-const": "error",
"prefer-numeric-literals": "error",
Expand Down
7 changes: 7 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Users/teams listed below are deemed responsible for the code in this repo.

# Responsible users will automatically be assigned to relevant pull requests
# for this repo.
# See https://help.github.com/articles/about-codeowners/ for more info.

* @UCF/webcom
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve

---

<!--
Thank you for reporting a possible bug in {{My-Project}}.
Please provide a general summary of the issue in the Title above and fill in as much of the template below as you can.
The version of WordPress can be found on the Admin Dashboard page in the bottom right-hand corner.
The version of this theme can be found by navigating to Appearance > Themes and clicking on Theme Details.
-->

**Describe the bug**
<!--- Provide a more detailed description of the issue you're having -->

**Steps to Reproduce**
<!--- Provide a clear set of steps to reproduce this bug -->
1.
2.
3.
4.

**Expected Behavior**
<!--- Tell us what should happen -->

**Possible Fix**
<!--- Not required: suggest a fix or reason for the bug -->

**Your environment:**
<!-- Include as many relevant details as possible. -->
- Device: [e.g. iPhone6]
- OS: [e.g. iOS]
- Browser & Version [e.g. chrome 68, safari]
- WordPress Version: [e.g. 4.9.8]
- Theme Version: [e.g. 1.5.2]

**Additional context**
<!--- How has this bug affected you? What were you trying to accomplish? Provide a link to a live example or screenshots if available. -->
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: "\U0001F680 Feature request"
about: Suggest an idea for this theme

---

<!--
Thank you for suggesting an idea to make {{My-Project}} better.
Please provide a general summary of your feature request in the Title above, and fill in as much of the template below as you can.
-->

**Description**
<!-- Provide a detailed description of the change or addition you are proposing -->
<!-- If your feature request is related to a problem you're trying to solve, describe that here as well -->

**Why it's Important**
<!--- Why is this change important to you or your organization? -->
<!--- How can it benefit others who utilize this theme? -->

**Alternatives**
<!-- Please describe alternative solutions or features you've considered -->

**Possible Implementation**
<!--- Not required: suggest an idea for implementing addition or change -->

**Additional context**
<!-- Add any other context or screenshots related to this feature request -->

31 changes: 31 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!---
Thank you for contributing to {{My-Project}}.
Please make sure you've read our contributing guidelines:
https://github.com/UCF/{{My-Project}}/blob/master/CONTRIBUTING.md
Provide a general summary of your changes in the Title above and fill in the template below.
-->

**Description**
<!--- Describe your changes in detail -->

**Motivation and Context**
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

**How Has This Been Tested?**
<!--- Please describe how you tested your changes. -->

**Types of changes**
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

**Checklist:**
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires an update to the documentation.
- [ ] I have updated the documentation accordingly.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ typings

# debug files
npm-debug.log

179 changes: 179 additions & 0 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
# sass-lint config generated by make-sass-lint-config v0.1.2
#
# The following scss-lint Linters are not yet supported by sass-lint:
# DisableLinterReason, ElsePlacement, PropertyCount, SelectorDepth
# SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, Compass::*
#
# The following settings/values are unsupported by sass-lint:
# Linter Indentation, option "allow_non_nested_indentation"
# Linter Indentation, option "character"
# Linter NestingDepth, option "ignore_parent_selectors"
# Linter PropertySortOrder, option "min_properties"
# Linter PropertySortOrder, option "separate_groups"
# Linter SpaceBeforeBrace, option "allow_single_line_padding"
# Linter VendorPrefix, option "identifier_list"

files:
include: '**/*.scss'
options:
formatter: stylish
merge-default-rules: false
rules:
bem-depth:
- 0
- max-depth: 1
border-zero:
- 1
- convention: zero
brace-style:
- 1
- allow-single-line: true
class-name-format:
- 1
- convention: hyphenatedlowercase
clean-import-paths:
- 1
- filename-extension: false
leading-underscore: false
empty-line-between-blocks:
- 1
- ignore-single-line-rulesets: true
extends-before-declarations: 1
extends-before-mixins: 1
final-newline:
- 1
- include: true
force-attribute-nesting: 0 # Modified - allow unnested selectors for more convenient selector overrides
force-element-nesting: 0 # Modified - allow unnested selectors for more convenient selector overrides
force-pseudo-nesting: 0 # Modified - allow unnested selectors for more convenient selector overrides
function-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
hex-length:
- 1
- style: short
hex-notation:
- 1
- style: lowercase
id-name-format:
- 1
- convention: hyphenatedlowercase
indentation:
- 1
- size: 2
leading-zero:
- 1
- include: false
mixin-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
mixins-before-declarations: 0 # Modified - accommodates media query-like mixin includes within blocks
nesting-depth:
- 1
- max-depth: 3
no-color-keywords: 1
no-color-literals: 0
no-css-comments: 1
no-debug: 1
no-duplicate-properties: 1
no-empty-rulesets: 1
no-extends: 0
no-ids: 1
no-important: 1
no-invalid-hex: 1
no-mergeable-selectors: 1
no-misspelled-properties:
- 1
- extra-properties: []
no-qualifying-elements:
- 1
- allow-element-with-attribute: false
allow-element-with-class: false
allow-element-with-id: false
no-trailing-zero: 1
no-transition-all: 0
no-url-protocols: 1
no-vendor-prefixes:
- 1
- additional-identifiers: []
excluded-identifiers: []
placeholder-in-extend: 1
placeholder-name-format:
- 1
- convention: hyphenatedlowercase
property-sort-order:
- 1
- ignore-custom-properties: false
property-units:
- 1
- global:
- ch
- em
- ex
- rem
- cm
- in
- mm
- pc
- pt
- px
- q
- vh
- vw
- vmin
- vmax
- deg
- grad
- rad
- turn
- ms
- s
- Hz
- kHz
- dpi
- dpcm
- dppx
- '%'
per-property:
line-height: [] # Modified - always use unitless line-height values
quotes:
- 1
- style: single
shorthand-values:
- 1
- allowed-shorthands:
- 1
- 2
- 3
single-line-per-selector: 1
space-after-bang:
- 1
- include: false
space-after-colon:
- 1
- include: true
space-after-comma:
- 1
- include: true
space-before-bang:
- 1
- include: true
space-before-brace:
- 1
- include: true
space-before-colon: 1
space-between-parens:
- 1
- include: false
trailing-semicolon: 1
url-quotes: 1
variable-for-property:
- 0
- properties: []
variable-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
zero-unit: 1
Loading

0 comments on commit e549750

Please sign in to comment.