Moriel Schottlender
2d184c087c
Add JSDuck support and fix errors
...
Change-Id: I7816110862d9ca1b16e2ec9ce842d240bee6b46b
2016-05-11 14:07:12 -07:00
Roan Kattouw
c15cb2675f
jscs: Enable checkRedundantParams and make pass
...
Change-Id: I3182708b5ab5b127b7e4a32d875d390485370816
2016-03-31 07:12:46 +00:00
Roan Kattouw
df8e97173f
jscs: Enable checkRedundantReturns and make pass
...
Change-Id: I8013198fdb5852246a0f8360b931334740eaa147
2016-03-25 11:54:55 -07:00
Roan Kattouw
ee7b10bf4b
jscs: Enable checkParamNames and make pass
...
Change-Id: I50340b156b7c23483da1613eaabe8f40c559660a
2016-03-25 11:54:44 -07:00
Roan Kattouw
44a015970f
jscs: Add "checkTypes": "strictNativeCase" and make pass
...
Change-Id: I4be0d72ba192f0b79a92f5efa2f5a16fb0f327b5
2016-03-25 11:47:00 -07:00
Ricordisamoa
4107a4a495
build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass
...
Change-Id: I264fafad95ddb4a4cc925815a62af83744f122e4
2016-03-07 14:29:15 +01:00
Ricordisamoa
9c83e14c59
build: Enable jscs rule 'requireVarDeclFirst' and make pass
...
Change-Id: Id1581858e59ea5f49804b6cf753b0c2860fb9855
2016-03-07 11:57:31 +00:00
Ricordisamoa
be0dff6a89
build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass
...
Change-Id: I62bd55936f8416caa2e1b917752d91355f7d9e7d
2016-02-29 18:03:29 +01:00
Ricordisamoa
1f24e0589d
build: Update grunt-jscs to 2.7.0 and disable failing rules
...
Change-Id: I81cfe364b72653a99300be2f9a7c289dce899b69
2016-02-29 16:42:32 +01:00
Roan Kattouw
518101e495
Actually pass jscs
...
Removed exemptions from .jscsrc and fixed the code to make jscs still
pass.
Kept the dangling underscores exemption because leading underscores
are (for now) used as a naming convention for private functions in
this repo.
Change-Id: I18964f8469f52c294276527d92cb6bf9f48c2576
2015-05-04 19:28:01 +00:00
Roan Kattouw
5aefeb3f2e
Add Grunt infrastructure for CI
...
* Update package.json based on Flow's
* Add Gruntfile.js based on Flow's
* Add .csslintrc and .jscsrc with rules to silence errors for now
Change-Id: Ia8e23537d8dccbcff9ee336f667dc463590c0235
2015-05-01 20:35:23 -07:00