Skip to content

Commit 8276110

Browse files
committed
initial v1.0 commit
0 parents  commit 8276110

13 files changed

+1309
-0
lines changed

.editorconfig

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
16+
[*.{yml,yaml}]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[*.php]
21+
indent_size = 4
22+
23+
[*.{js,jsx,ts,tsx,json}]
24+
indent_size = 2
25+
26+
[*.css]
27+
indent_size = 4
28+
29+
[*.{html,htm}]
30+
indent_size = 4
31+
32+
[*.md]
33+
trim_trailing_whitespace = false

.eslintrc.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaVersion": 2018,
10+
"sourceType": "module"
11+
},
12+
"rules": {
13+
"indent": [
14+
"error",
15+
2
16+
],
17+
"linebreak-style": [
18+
"error",
19+
"unix"
20+
],
21+
"quotes": [
22+
"error",
23+
"single"
24+
],
25+
"semi": [
26+
"error",
27+
"always"
28+
],
29+
"no-console": "off"
30+
}
31+
}

.gitignore

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# WordPress specific
2+
/wp-content/uploads/
3+
/wp-content/upgrade/
4+
/wp-content/cache/
5+
/wp-content/backup-db/
6+
/wp-content/advanced-cache.php
7+
/wp-content/wp-cache-config.php
8+
/wp-content/debug.log
9+
10+
# Ignore wp-cli configuration
11+
wp-cli.local.yml
12+
wp-cli.yml
13+
14+
# compiled source #
15+
###################
16+
*.com
17+
*.class
18+
*.dll
19+
*.exe
20+
*.o
21+
*.so
22+
23+
# Packages #
24+
############
25+
# it's better to unpack these files and commit the raw source
26+
# git has its own built in compression methods
27+
*.7z
28+
*.dmg
29+
*.gz
30+
*.iso
31+
*.jar
32+
*.rar
33+
*.tar
34+
*.zip
35+
36+
# Logs and databases #
37+
######################
38+
*.log
39+
*.sql
40+
*.sqlite
41+
logs
42+
*.log
43+
npm-debug.log*
44+
yarn-debug.log*
45+
yarn-error.log*
46+
47+
# OS generated files #
48+
######################
49+
.DS_Store
50+
.DS_Store?
51+
._*
52+
.Spotlight-V100
53+
.Trashes
54+
ehthumbs.db
55+
Thumbs.db
56+
57+
# IDE files #
58+
#############
59+
.idea/
60+
.vscode/
61+
*.sublime-project
62+
*.sublime-workspace
63+
*.code-workspace
64+
65+
# Coverage directory used by tools like istanbul
66+
coverage
67+
68+
# Compiled binary addons (https://nodejs.org/api/addons.html)
69+
build/Release
70+
71+
# Dependency directories
72+
node_modules/
73+
dist/
74+
build/
75+
76+
# Ignore composer and npm files
77+
composer.lock
78+
package-lock.json
79+
yarn.lock
80+
81+
# Optional npm cache directory
82+
.npm
83+
84+
# Optional eslint cache
85+
.eslintcache
86+
87+
# Output of `npm pack`
88+
*.tgz
89+
90+
# Output of `wp-scripts plugin-zip`
91+
*.zip
92+
93+
# dotenv environment variables file
94+
.env

0 commit comments

Comments
 (0)