How to add the most strict configuration for JSLINT?

Viewed 22

I'm trying to add a function to a script that will run JSlint with the most strict configuration possible, but i'm having trouble testing all of them one by one and reviewing the output.

/*global provide: true */
(function () {
  "use strict";
  /*jslint onevar: true, undef: true, newcap: true, nomen: true, regexp: true, plusplus: true, bitwise: true */

  function stringToInt() {
    /*jslint bitwise:false */
    return "hello" >> 0;
  }

  module.exports = stringToInt;
}());
0 Answers
Related