ignore testing of vendor files
This commit is contained in:
parent
4252740df8
commit
ffb7c38e16
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "google"
|
||||
}
|
6
.jscsrc
6
.jscsrc
|
@ -2,6 +2,10 @@
|
|||
"preset": "wordpress",
|
||||
"fileExtensions": [ ".js" ],
|
||||
"excludeFiles": [
|
||||
"js/**.min.js"
|
||||
"js/**.min.js",
|
||||
"src/**/*.js",
|
||||
"js/core.js",
|
||||
"js/popper.js",
|
||||
"js/theme.js"
|
||||
]
|
||||
}
|
|
@ -1 +1,5 @@
|
|||
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)
|
||||
# --standard: Use WordPress as the standard.
|
||||
# --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/*
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,6 +30,7 @@
|
|||
"bootstrap": "4.0.0",
|
||||
"browser-sync": "^2.22.0",
|
||||
"del": "^3.0.0",
|
||||
"eslint": "^4.16.0",
|
||||
"font-awesome": "^4.7.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-clean-css": "^3.9.1",
|
||||
|
@ -52,5 +53,8 @@
|
|||
"popper.js": "^1.13.0",
|
||||
"run-sequence": "^2.2.1",
|
||||
"undescores-for-npm": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-google": "^0.9.1"
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue