Skip to content

Commit

Permalink
feat--plugin-basic development done
Browse files Browse the repository at this point in the history
migration from mu elementor optimizer to simple plugin with settings in elementor area.

Special thanks to @mihdan for this boilerplate
  • Loading branch information
DimaMinka committed May 12, 2020
1 parent 5f53308 commit 5afaffb
Show file tree
Hide file tree
Showing 17 changed files with 899 additions and 2 deletions.
39 changes: 39 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# A set of files you probably don't want in your WordPress.org distribution
.distignore
.editorconfig
.git
.gitignore
.gitlab-ci.yml
.travis.yml
.DS_Store
.idea
.jshintrc
Thumbs.db
behat.yml
circle.yml
composer.json
composer.lock
Gruntfile.js
package.json
package-lock.json
phpunit.xml
phpunit.xml.dist
multisite.xml
multisite.xml.dist
phpcs.xml
phpcs.ruleset.xml
phpcs.xml.dist
README.md
CHANGELOG.md
CONTRIBUTING.md
wp-cli.local.yml
yarn.lock
bin
tests
node_modules
*.sql
*.tar.gz
*.zip
/assets
/src
screenshot-*.png
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

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

[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2

[{*.txt,wp-config-sample.php}]
end_of_line = crlf

[*.md]
trim_trailing_whitespace = false
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
*.log
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php

/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz

.idea/
/vendor/
29 changes: 29 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"esversion": 3,
"expr": true,
"immed": true,
"noarg": true,
"nonbsp": true,
"onevar": true,
"quotmark": "single",
"trailing": true,
"undef": true,
"unused": true,

"browser": true,

"globals": {
"_": false,
"Backbone": false,
"jQuery": false,
"JSON": false,
"wp": false,
"export": false,
"module": false,
"require": false
}
}
Loading

0 comments on commit 5afaffb

Please sign in to comment.