ignore testing of vendor files

This commit is contained in:
Sam 2018-01-27 17:33:52 -06:00
parent 4252740df8
commit ffb7c38e16
6 changed files with 10691 additions and 4 deletions

3
.eslintrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "google"
}

View File

@ -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"
]
}

View File

@ -1 +1,5 @@
js/**.min.js
src/**/*.js
js/core.js
js/popper.js
js/theme.js

View File

@ -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/*

10672
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}