Skip to content

Commit

Permalink
Drop removed JSHint rules
Browse files Browse the repository at this point in the history
The `onevar` and `trailing` rules at JSHint have been removed. I'm not sure we
should use JSCS for now, but these rules doesn't works anymore.
  • Loading branch information
okuryu committed Apr 18, 2015
1 parent fe6ab78 commit 262d330
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ based templates to generate static HTML content
*/

YUI.add('doc-builder', function (Y) {
/*jshint onevar:false */

var fixType = Y.Lang.fixType,
print = function (items) {
var out = '<ul>';
Expand Down
2 changes: 0 additions & 2 deletions lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ YUI.add('options', function (Y) {
* @return {Object} The config object
*/
Y.Options = function (args) {
/*jshint onevar:false */

var options = {
port: 3000,
nocode: false
Expand Down
1 change: 0 additions & 1 deletion lib/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ YUI.add('project', function (Y) {
}

if (typeof options.tabtospace === 'number') {
/*jshint onevar:false */
options.tabspace = '';
for (var s = 0; s < options.tabtospace; s++) {
options.tabspace += ' ';
Expand Down
1 change: 0 additions & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Code licensed under the BSD License:
* https://github.com/yui/yuidoc/blob/master/LICENSE
*/
/*jshint onevar:false */
var path = require('path'),
minimatch = require('minimatch'),
fs = require('graceful-fs');
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@
"noarg": true,
"node": true,
"noempty": true,
"onevar": true,
"trailing": true,
"undef": true,
"unused": "vars",
"yui": true
Expand Down

0 comments on commit 262d330

Please sign in to comment.