diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.jshintrc | 164 | ||||
| -rw-r--r-- | src/ngAnimate/.jshintrc | 22 | ||||
| -rw-r--r-- | src/ngCookies/.jshintrc | 22 | ||||
| -rw-r--r-- | src/ngLocale/.jshintrc | 23 | ||||
| -rw-r--r-- | src/ngMock/.jshintrc | 25 | ||||
| -rw-r--r-- | src/ngResource/.jshintrc | 22 | ||||
| -rw-r--r-- | src/ngRoute/.jshintrc | 23 | ||||
| -rw-r--r-- | src/ngSanitize/.jshintrc | 23 | ||||
| -rw-r--r-- | src/ngScenario/.jshintrc | 38 | ||||
| -rw-r--r-- | src/ngTouch/.jshintrc | 23 | 
10 files changed, 385 insertions, 0 deletions
| diff --git a/src/.jshintrc b/src/.jshintrc new file mode 100644 index 00000000..754c27dc --- /dev/null +++ b/src/.jshintrc @@ -0,0 +1,164 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 200, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    /* auto/injector.js */ +    "createInjector": false, + +    /* angular.js */ +    "angular": false, +    "msie": false, +    "jqLite": false, +    "jQuery": false, +    "slice": false, +    "push": false, +    "toString": false, +    "ngMinErr": false, +    "_angular": false, +    "angularModule": false, +    "nodeName_": false, +    "uid": false, + +    "lowercase": false, +    "uppercase": false, +    "manualLowercase": false, +    "manualUppercase": false, +    "nodeName_": false, +    "isArrayLike": false, +    "forEach": false, +    "sortedKeys": false, +    "forEachSorted": false, +    "reverseParams": false, +    "nextUid": false, +    "setHashKey": false, +    "extend": false, +    "int": false, +    "inherit": false, +    "noop": false, +    "identity": false, +    "valueFn": false, +    "isUndefined": false, +    "isDefined": false, +    "isObject": false, +    "isString": false, +    "isNumber": false, +    "isDate": false, +    "isArray": false, +    "isFunction": false, +    "isRegExp": false, +    "isWindow": false, +    "isScope": false, +    "isFile": false, +    "isBoolean": false, +    "trim": false, +    "isElement": false, +    "makeMap": false, +    "map": false, +    "size": false, +    "includes": false, +    "indexOf": false, +    "arrayRemove": false, +    "isLeafNode": false, +    "copy": false, +    "shallowCopy": false, +    "equals": false, +    "csp": false, +    "concat": false, +    "sliceArgs": false, +    "bind": false, +    "toJsonReplacer": false, +    "toJson": false, +    "fromJson": false, +    "toBoolean": false, +    "startingTag": false, +    "tryDecodeURIComponent": false, +    "parseKeyValue": false, +    "toKeyValue": false, +    "encodeUriSegment": false, +    "encodeUriQuery": false, +    "angularInit": false, +    "bootstrap": false, +    "snake_case": false, +    "bindJQuery": false, +    "assertArg": false, +    "assertArgFn": false, +    "assertNotHasOwnProperty": false, +    "getter": false, + +    /* AngularPublic.js */ +    "version": false, +    "publishExternalAPI": false, + +    /* minerr.js */ +    "minErr": false, + +    /* loader.js */ +    "setupModuleLoader": false, + +    /* jqLite.js */ +    "BOOLEAN_ATTR": false, +    "jqNextId": false, +    "camelCase": false, +    "jqLitePatchJQueryRemove": false, +    "JQLite": false, +    "jqLiteClone": false, +    "jqLiteDealoc": false, +    "jqLiteOff": false, +    "jqLiteRemoveData": false, +    "jqLiteExpandoStore": false, +    "jqLiteData": false, +    "jqLiteHasClass": false, +    "jqLiteRemoveClass": false, +    "jqLiteAddClass": false, +    "jqLiteAddNodes": false, +    "jqLiteController": false, +    "jqLiteInheritedData": false, +    "getBooleanAttrName": false, +    "createEventHandler": false, +    "JQLitePrototype": false, +    "addEventListenerFn": false, +    "removeEventListenerFn": false, + +    /* apis.js */ +    "hashKey": false, +    "HashMap": false, + +    /* urlUtils.js */ +    "urlResolve": false, +    "urlIsSameOrigin": false, + +    /* ng/compile.js */ +    "directiveNormalize": false, + +    /* ng/parse.js */ +    "setter": false, + +    /* ng/directive/directives.js */ +    "ngDirective": false, + +    /* ng/directive/input.js */ +    "VALID_CLASS": false, +    "INVALID_CLASS": false, +    "PRISTINE_CLASS": false, +    "DIRTY_CLASS": false, + +    /* ng/directive/form.js */ +    "nullFormCtrl": false + +  } +}
\ No newline at end of file diff --git a/src/ngAnimate/.jshintrc b/src/ngAnimate/.jshintrc new file mode 100644 index 00000000..6a4072b2 --- /dev/null +++ b/src/ngAnimate/.jshintrc @@ -0,0 +1,22 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": false, /* ngAnimate docs contain wide tables */ +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false +  } +}
\ No newline at end of file diff --git a/src/ngCookies/.jshintrc b/src/ngCookies/.jshintrc new file mode 100644 index 00000000..fc5bd37b --- /dev/null +++ b/src/ngCookies/.jshintrc @@ -0,0 +1,22 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false +  } +}
\ No newline at end of file diff --git a/src/ngLocale/.jshintrc b/src/ngLocale/.jshintrc new file mode 100644 index 00000000..baa41012 --- /dev/null +++ b/src/ngLocale/.jshintrc @@ -0,0 +1,23 @@ +{ +  "bitwise": false, /* locale files use bitwise operators */ +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": false, /* locale files are generated from a 3rd party library that has long lines */ +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false +  }, +  "-W041": false +}
\ No newline at end of file diff --git a/src/ngMock/.jshintrc b/src/ngMock/.jshintrc new file mode 100644 index 00000000..46d8799b --- /dev/null +++ b/src/ngMock/.jshintrc @@ -0,0 +1,25 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false, +    "expect": false, +    "beforeEach": false, +    "afterEach": false +  } +}
\ No newline at end of file diff --git a/src/ngResource/.jshintrc b/src/ngResource/.jshintrc new file mode 100644 index 00000000..fc5bd37b --- /dev/null +++ b/src/ngResource/.jshintrc @@ -0,0 +1,22 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false +  } +}
\ No newline at end of file diff --git a/src/ngRoute/.jshintrc b/src/ngRoute/.jshintrc new file mode 100644 index 00000000..4d47ea83 --- /dev/null +++ b/src/ngRoute/.jshintrc @@ -0,0 +1,23 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false, +    "ngRouteModule": false +  } +}
\ No newline at end of file diff --git a/src/ngSanitize/.jshintrc b/src/ngSanitize/.jshintrc new file mode 100644 index 00000000..d75712a2 --- /dev/null +++ b/src/ngSanitize/.jshintrc @@ -0,0 +1,23 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false, +    "htmlSanitizeWriter": false +  } +}
\ No newline at end of file diff --git a/src/ngScenario/.jshintrc b/src/ngScenario/.jshintrc new file mode 100644 index 00000000..06dd6f58 --- /dev/null +++ b/src/ngScenario/.jshintrc @@ -0,0 +1,38 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false, +    "includes": false, +    "asyncForEach": false, +    "msie": false, +    "browserTrigger": false, +    "console": false, +    "alert": false, +    "indexOf": false, +    "_jQuery": false, +    "angularInit": false, +    "formatException": false, +    "AnimationEvent": false, +    "TransitionEvent": false, +    "WebKitAnimationEvent": false, +    "WebKitTransitionEvent": false, +    "$runner": false, +    "callerFile": false +  } +}
\ No newline at end of file diff --git a/src/ngTouch/.jshintrc b/src/ngTouch/.jshintrc new file mode 100644 index 00000000..cf30c37f --- /dev/null +++ b/src/ngTouch/.jshintrc @@ -0,0 +1,23 @@ +{ +  "bitwise": true, +  "immed": true, +  "newcap": true, +  "noarg": true, +  "noempty": true, +  "nonew": true, +  "trailing": true, +  "maxlen": 100, +  "boss": true, +  "eqnull": true, +  "expr": true, +  "globalstrict": true, +  "laxbreak": true, +  "loopfunc": true, +  "sub": true, +  "undef": true, +  "browser": true, +  "globals": { +    "angular": false, +    "ngTouch": false +  } +}
\ No newline at end of file | 
