forked from understrap/understrap
-
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.
- Loading branch information
1 parent
de3d5fa
commit 85984f5
Showing
3 changed files
with
27 additions
and
0 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,7 @@ | ||
{ | ||
"preset": "wordpress", | ||
"fileExtensions": [ ".js" ], | ||
"excludeFiles": [ | ||
"js/**.min.js" | ||
] | ||
} |
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 @@ | ||
js/**.min.js |
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,19 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="WordPress Theme Coding Standards"> | ||
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml --> | ||
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml --> | ||
|
||
<!-- Set a description for this ruleset. --> | ||
<description>A custom set of code standard rules to check for WordPress themes.</description> | ||
|
||
<!-- Include the WordPress ruleset, with exclusions. --> | ||
<rule ref="WordPress"> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" /> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" /> | ||
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" /> | ||
</rule> | ||
|
||
<!-- Include sniffs for PHP cross-version compatibility. --> | ||
<config name="testVersion" value="5.2-99.0"/> | ||
<rule ref="PHPCompatibility"/> | ||
</ruleset> |