ignore testing of vendor files
This commit is contained in:
parent
4d2a98585a
commit
1a446d5f42
9
.jscsrc
9
.jscsrc
|
@ -2,6 +2,11 @@
|
||||||
"preset": "wordpress",
|
"preset": "wordpress",
|
||||||
"fileExtensions": [ ".js" ],
|
"fileExtensions": [ ".js" ],
|
||||||
"excludeFiles": [
|
"excludeFiles": [
|
||||||
"js/**.min.js"
|
"js/**.min.js",
|
||||||
|
"js/**.min.js",
|
||||||
|
"src/**/*.js",
|
||||||
|
"js/core.js",
|
||||||
|
"js/popper.js",
|
||||||
|
"js/theme.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
js/**.min.js
|
js/**.min.js
|
||||||
|
src/**/*.js
|
||||||
|
js/core.js
|
||||||
|
js/popper.js
|
||||||
|
js/theme.js
|
||||||
|
|
|
@ -93,4 +93,4 @@ script:
|
||||||
# -n flag: Do not print warnings (shortcut for --warning-severity=0)
|
# -n flag: Do not print warnings (shortcut for --warning-severity=0)
|
||||||
# --standard: Use WordPress as the standard.
|
# --standard: Use WordPress as the standard.
|
||||||
# --extensions: Only sniff PHP files.
|
# --extensions: Only sniff PHP files.
|
||||||
- $WP_DEVELOP_DIR/php-codesniffer/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php
|
- $WP_DEVELOP_DIR/php-codesniffer/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*,*/src/*
|
||||||
|
|
Reference in New Issue