From fda1062195ecb0ff38d71cff8b2d3304043059c2 Mon Sep 17 00:00:00 2001 From: Rob Cresswell Date: Wed, 10 Jun 2015 12:29:23 +0100 Subject: [PATCH] Extends .jscsrc to ignore 3rd party files Adds a few files that should be skipped to the .jscsrc, since they are beyond our control (external libs, generated coverage reports etc.) This also reduces the error count to around 2k Closes-Bug: 1463791 Change-Id: Iac87e41edd797c2a8318dcaceefe0651bd22dd61 --- .jscsrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.jscsrc b/.jscsrc index c8c54f6758..8268585f63 100644 --- a/.jscsrc +++ b/.jscsrc @@ -1,7 +1,11 @@ { "excludeFiles": [ + ".venv/**", + "bower_components/**", + "horizon/.coverage-karma/**", + "lib/**", "node_modules/**", - "bower_components/**" + "openstack_dashboard/.coverage-karma/**" ], "requireCurlyBraces": [ "if", @@ -51,4 +55,4 @@ "disallowMultipleLineBreaks": true, "disallowTrailingComma": true, "requireParenthesesAroundIIFE": true -} \ No newline at end of file +}