Skip to content

Commit

Permalink
Prep 2.2.0 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanrice committed May 7, 2019
2 parents f83f625 + 1b47ad4 commit c44b89a
Show file tree
Hide file tree
Showing 19 changed files with 1,037 additions and 345 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2.1

jobs:
test:
docker:
- image: circleci/php:7.3.3-stretch-node-browsers
steps:
- checkout
- prepare-environment
- run: composer phpcs

commands:
prepare-environment:
description: "Install dependencies."
steps:
- run: composer install

workflows:
version: 2
check-wp-cs:
jobs:
- test
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# http://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

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.DS_Store
Thumbs.db
.svn
node_modules/
node_modules/
vendor/
*.swp
32 changes: 32 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "studiopress/genesis-simple-sidebars",
"type": "wordpress-plugin",
"description": "Genesis Simple Sidebars allows you to easily create and use new sidebar widget areas.",
"homepage": "https://github.com/studiopress/genesis-simple-sidebars",
"license": "GPL-2.0-or-later",
"require": {
"php": "^5.3 || ^7",
"composer/installers": "^1"
},
"require-dev": {
"php": "^5.6 || ^7",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"squizlabs/php_codesniffer": "^3.3.1",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "^1"
},
"config": {
"sort-order": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"phpcs": "phpcs --standard=WordPress --ignore=vendor/,node_modules/,assets/ --extensions=php -p ./",
"phpcs-compat": "phpcs --extensions=php --standard=PHPCompatibilityWP --ignore=vendor/,node_modules/,assets/ --runtime-set testVersion 5.6- -p ./",
"phpcbf": "phpcbf --standard=WordPress --ignore=vendor/,node_modules/,assets/ --extensions=php -p ./"
},
"support": {
"issues": "https://github.com/studiopress/genesis-simple-sidebars/issues",
"source": "https://github.com/studiopress/genesis-simple-sidebars"
}
}
Loading

0 comments on commit c44b89a

Please sign in to comment.