Skip to content

Commit c78a4e0

Browse files
committed
Initial Commit
0 parents  commit c78a4e0

File tree

388 files changed

+89735
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

388 files changed

+89735
-0
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "assets/bower"
3+
}

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Matches multiple files with brace expansion notation
12+
# Set default charset
13+
[*.{html,js,php,css,scss}]
14+
charset = utf-8
15+
16+
# 4 space indentation
17+
[*.{html,js,php,css,scss}]
18+
indent_style = tab
19+
indent_size = 4
20+
21+
# Matches the exact files
22+
[{package.json,bower.json,.bowerrc,.eslintrc,.travis.yml,.sass-lint.yml,phpcs.xml}]
23+
indent_style = space
24+
indent_size = 2

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"jquery": true,
5+
"es6": true,
6+
},
7+
"extends": "wordpress",
8+
"installedESLint": true,
9+
"plugins": []
10+
};

.gitignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
### OSX ###
2+
.DS_Store
3+
.AppleDouble
4+
.LSOverride
5+
6+
# Icon must end with two \r
7+
Icon
8+
9+
10+
# Thumbnails
11+
._*
12+
13+
# Files that might appear on external disk
14+
.Spotlight-V100
15+
.Trashes
16+
17+
# Directories potentially created on remote AFP share
18+
.AppleDB
19+
.AppleDesktop
20+
Network Trash Folder
21+
Temporary Items
22+
.apdisk
23+
24+
25+
### Bower ###
26+
bower_components
27+
.bower-cache
28+
.bower-registry
29+
.bower-tmp
30+
31+
32+
### Node ###
33+
# Logs
34+
logs
35+
*.log
36+
37+
# Runtime data
38+
pids
39+
*.pid
40+
*.seed
41+
42+
# Directory for instrumented libs generated by jscoverage/JSCover
43+
lib-cov
44+
45+
# Coverage directory used by tools like istanbul
46+
coverage
47+
48+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
49+
.grunt
50+
51+
# node-waf configuration
52+
.lock-wscript
53+
54+
# Compiled binary addons (http://nodejs.org/api/addons.html)
55+
build/Release
56+
57+
# Dependency directory
58+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
59+
node_modules
60+
61+
62+
63+
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
64+
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
65+
# composer.lock
66+
67+
### Sass ###
68+
.sass-cache
69+
70+
release
71+

.sass-lint.yml

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
# Sample Configs
2+
# - https://github.com/sasstools/sass-lint/blob/develop/docs/sass-lint.yml
3+
# - https://github.com/sasstools/gulp-sass-lint/blob/master/tests/.sass-lint.yml
4+
5+
# Sass Lint Rules
6+
# - https://github.com/sasstools/sass-lint/tree/develop/docs/rules
7+
8+
# Severity
9+
# - 0: turns rule off
10+
# - 1: set as a warning
11+
# - 2: set to error
12+
13+
# File Options
14+
files:
15+
ignore:
16+
- 'sass/vendor/**/*.scss'
17+
- 'sass/tests/**/*.scss'
18+
- 'bourbon/app/**/*.scss'
19+
- 'bourbon-neat/app/**/*.scss'
20+
21+
# Rule Configuration
22+
rules:
23+
# Extends
24+
placeholder-in-extend: 0
25+
26+
# Mixins
27+
mixins-before-declarations:
28+
- 1
29+
-
30+
exclude: ['media'] # except @include media();
31+
32+
# Line Spacing
33+
empty-line-between-blocks:
34+
- 1
35+
-
36+
allow-single-line-rulesets: false
37+
38+
# Disallows
39+
no-color-literals:
40+
- 1
41+
-
42+
allow-rgba: true
43+
no-debug: 0
44+
no-ids: 0
45+
no-mergeable-selectors: 0
46+
no-qualifying-elements:
47+
- 1
48+
-
49+
allow-element-with-attribute: true
50+
allow-element-with-class: false
51+
allow-element-with-id: false
52+
no-vendor-prefixes: 0
53+
no-warn: 0
54+
55+
# Nesting
56+
force-attribute-nesting: 0
57+
force-element-nesting: 0
58+
force-pseudo-nesting: 0
59+
60+
# Name Formats
61+
function-name-format:
62+
- 1
63+
-
64+
convention-explanation: Please use hyphenated lowercase for function names. Also, you may use a leading underscore if you prefer.
65+
mixin-name-format:
66+
- 1
67+
-
68+
convention-explanation: Please use hyphenated lowercase for mixin names. Also, you may use a leading underscore if you prefer.
69+
placeholder-name-format:
70+
- 1
71+
-
72+
convention-explanation: Please use hyphenated lowercase for placeholder names. Also, you may use a leading underscore if you prefer.
73+
variable-name-format:
74+
- 1
75+
-
76+
allow-leading-underscore: false
77+
convention-explanation: Please use hyphenated lowercase for variable names. No leading underscore is allowed.
78+
79+
# Style Guide
80+
attribute-quotes: 1
81+
border-zero: 0
82+
brace-style:
83+
- 1
84+
-
85+
style: 1tbs
86+
allow-single-line: false
87+
class-name-format:
88+
- 1
89+
-
90+
allow-leading-underscore: false
91+
convention-explanation: Please use hypenated lowercase for class names, and without a leading underscore. If you find a WordPress core condition that conflicts with this convention feel free to modify and extend the ignore option.
92+
ignore: ['current_page_item', 'widget_search'] # ignore selectors declared by WordPress
93+
94+
empty-args: 0
95+
hex-length: 1
96+
hex-notation: 1
97+
id-name-format:
98+
- 1
99+
-
100+
convention-explanation: Please try to use hyphenated lowercase ID name format. If overriding a plugin that does not use this format then please ignore or extend the list of ignore option.
101+
indentation:
102+
- 1
103+
-
104+
size: tab
105+
leading-zero:
106+
- 1
107+
-
108+
include: true
109+
110+
nesting-depth:
111+
- 1
112+
-
113+
max-depth: 3
114+
115+
property-units:
116+
- 1
117+
-
118+
per-property: { width: ['rem', 'vw'], height: ['rem', 'vh'], margin: ['rem'], padding: ['rem'] }
119+
120+
quotes:
121+
- 1
122+
-
123+
style: double
124+
125+
shorthand-values:
126+
- 1
127+
-
128+
allowed-shorthands:
129+
- 1
130+
- 2
131+
132+
# Inner Spacing
133+
space-between-parens: 0
134+
135+
# Final Items
136+
final-newline: 0
137+
138+
no-misspelled-properties:
139+
- 1
140+
-
141+
'extra-properties':
142+
- '-webkit-overflow-scrolling'

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: php
2+
3+
notifications:
4+
email:
5+
on_success: never
6+
on_failure: change
7+
8+
php:
9+
- 5.3
10+
- 5.5
11+
12+
env:
13+
- WP_VERSION=latest WP_MULTISITE=0
14+
15+
matrix:
16+
include:
17+
- php: 5.3
18+
env: WP_VERSION=latest WP_MULTISITE=1
19+
20+
before_script:
21+
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
22+
23+
script: phpunit

.yo-rc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"generator-plugin-wp": {
3+
"name": "WDS Plugin Police",
4+
"homepage": "http://webdevstudios.com",
5+
"description": "Does some things we won't talk about",
6+
"version": "0.1.0",
7+
"author": "WebDevStudios",
8+
"authoremail": "[email protected]",
9+
"authorurl": "http://webdevstudios.com",
10+
"license": "GPLv2",
11+
"slug": "wds-plugin-police",
12+
"classname": "WDS_Plugin_Police",
13+
"classprefix": "WDSPP_",
14+
"prefix": "wds_plugin_police",
15+
"year": 2017,
16+
"currentVersionWP": "4.7.1"
17+
}
18+
}

Dockunit.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"containers": [
3+
{
4+
"prettyName": "PHP 5.2 FPM WordPress 4.3",
5+
"image": "dockunit/prebuilt-images:php-mysql-phpunit-wordpress-5.2-fpm",
6+
"beforeScripts": [
7+
"service mysql start",
8+
"bash bin/install-wp-tests.sh wordpress_test root '' localhost 4.3"
9+
],
10+
"testCommand": "phpunit"
11+
},
12+
{
13+
"prettyName": "PHP 5.6 FPM WordPress 4.2",
14+
"image": "dockunit/prebuilt-images:php-mysql-phpunit-wordpress-5.6-fpm",
15+
"beforeScripts": [
16+
"service mysql start",
17+
"bash bin/install-wp-tests.sh wordpress_test2 root '' localhost 4.2"
18+
],
19+
"testCommand": "phpunit"
20+
},
21+
{
22+
"prettyName": "PHP 7.0 FPM Latest WordPress",
23+
"image": "dockunit/prebuilt-images:php-mysql-phpunit-wordpress-7.0-fpm",
24+
"beforeScripts": [
25+
"service mysql start",
26+
"bash bin/install-wp-tests.sh wordpress_test3 root '' localhost"
27+
],
28+
"testCommand": "phpunit"
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)