diff --git a/.jscsrc b/.jscsrc index 9a7bbb0..b99fa1c 100644 --- a/.jscsrc +++ b/.jscsrc @@ -2,6 +2,11 @@ "preset": "wordpress", "fileExtensions": [ ".js" ], "excludeFiles": [ - "js/**.min.js" + "js/**.min.js", + "js/**.min.js", + "src/**/*.js", + "js/core.js", + "js/popper.js", + "js/theme.js" ] -} \ No newline at end of file +} diff --git a/.jshintignore b/.jshintignore index 54162f6..a225e50 100644 --- a/.jshintignore +++ b/.jshintignore @@ -1 +1,5 @@ -js/**.min.js \ No newline at end of file +js/**.min.js +src/**/*.js +js/core.js +js/popper.js +js/theme.js diff --git a/.travis.yml b/.travis.yml index 32acf79..59bd1ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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/*