Skip to content

Commit 3cdeadc

Browse files
committed
Initial commit
0 parents  commit 3cdeadc

27 files changed

+36653
-0
lines changed

.distignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# A set of files you probably don't want in your WordPress.org distribution
2+
.distignore
3+
.editorconfig
4+
.git
5+
.gitignore
6+
.gitlab-ci.yml
7+
.travis.yml
8+
.DS_Store
9+
.browserslistrc
10+
.eslintrc.json
11+
.eslintrc.js
12+
.eslintignore
13+
.npmrc
14+
.nvmrc
15+
.stylelintrc
16+
.husky
17+
babel.config.js
18+
Thumbs.db
19+
behat.yml
20+
bin
21+
circle.yml
22+
composer.json
23+
composer.lock
24+
Gruntfile.js
25+
package.json
26+
package-lock.json
27+
phpunit.xml
28+
phpunit.xml.dist
29+
multisite.xml
30+
multisite.xml.dist
31+
phpcs.ruleset.xml
32+
phpcs.xml
33+
README.md
34+
wp-cli.local.yml
35+
tests
36+
node_modules
37+
*.zip
38+
*.tar.gz
39+
tests
40+
config
41+
postcss.config.js
42+
yarn.lock
43+
.wordpress-org
44+
.github
45+
LICENSE.md
46+
docs-built
47+
.husky
48+
.lintstagedrc.json
49+
lerna.json
50+
hookdoc-conf.json
51+
vendor
52+
docs

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = tab
9+
indent_size = 4
10+
11+
[{*.json,*.yml,.babelrc,.bowerrc,.browserslistrc,.postcssrc}]
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.txt,wp-config-sample.php]
16+
end_of_line = crlf

.eslintignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
assets/js/vendor
2+
assets/js/admin/vendor
3+
assets/js/frontend/vendor
4+
assets/js/shared/vendor
5+
gulp-tasks/
6+
webpack.config.babel.js
7+
gulpfile.babel.js
8+
dist/
9+
docs/

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const defaultEslintrc = require('10up-toolkit/config/.eslintrc');
2+
3+
module.exports = {
4+
...defaultEslintrc,
5+
rules: {
6+
...defaultEslintrc.rules,
7+
},
8+
};

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
node_modules
2+
bower_components
3+
release
4+
vendor
5+
.idea
6+
*.log
7+
8+
# Editors
9+
*.esproj
10+
*.tmproj
11+
*.tmproject
12+
tmtags
13+
.*.sw[a-z]
14+
*.un~
15+
Session.vim
16+
*.swp
17+
18+
# Mac OSX
19+
.DS_Store
20+
._*
21+
.Spotlight-V100
22+
.Trashes
23+
24+
# Windows
25+
Thumbs.db
26+
Desktop.ini

.lintstagedrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"*.css": [
3+
"10up-toolkit lint-style"
4+
],
5+
"*.js": [
6+
"10up-toolkit lint-js"
7+
],
8+
"*.jsx": [
9+
"10up-toolkit lint-js"
10+
],
11+
"*.php": [
12+
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s"
13+
]
14+
}

.stylelintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "@10up/stylelint-config",
3+
"ignoreFiles": [
4+
"dist/**"
5+
]
6+
}

0 commit comments

Comments
 (0)