forked from pluginkollektiv/cachify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code style check and build script (pluginkollektiv#202)
* Add minify script, remove *.min.css * Add code style check for CSS, fix existing violations * Add code style check for PHP (WP CS + PHP compatibility) * Rename files and variables according to WP code style * Escape output according to WP code style, fix multiple assignments and prepared statement * Fix input sanitization errors * Update GitHub actions to include composer install * Use latest version of the composer action, simply nonce sanitization * Fix .gitattributes, add .distignore * add .distignore to .gitattributes export-ignore * update NPM dev dependencies Co-authored-by: Stefan Kalscheuer <[email protected]>
- Loading branch information
1 parent
1e21870
commit f8326db
Showing
32 changed files
with
3,399 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Directories | ||
/.git | ||
/.github | ||
/.wordpress-org | ||
/node_modules | ||
/vendor | ||
|
||
# Files | ||
/.distignore | ||
/.editorconfig | ||
/.gitattributes | ||
/.gitignore | ||
/.stylelintrc.json | ||
/composer.json | ||
/composer.lock | ||
/package.json | ||
/package-lock.json | ||
/phpcs.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
composer.lock | ||
node_modules | ||
vendor | ||
.idea/ | ||
css/*.min.css | ||
vendor/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "@wordpress/stylelint-config", | ||
"rules": { | ||
"declaration-property-unit-whitelist": null, | ||
"selector-id-pattern": null | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.