sails-generate-viewhelpers
Version: 
Generates a service for using express-helpers in your SailsJS app.
35 lines (27 loc) • 1.05 kB
Plain Text
{
  // To fix column positions for JSHint errors you may want to add `"indent": 1` to your
  // **User** "jshint_options". This issue affects users with tabs for indentation.
  // This fix was reverted due to a conflict with using the `"white": true` option.
  // "indent": 1,
  "evil": true,
  "regexdash": true,
  "browser": true,
  "wsh": true,
  "sub": true,
  // Suppress warnings about mixed tabs and spaces
  "smarttabs": true,
  // Suppress warnings about trailing whitespace
  "trailing": false,
  // Suppress warnings about the use of expressions where fn calls or assignments are expected
  "expr": true,
  // Suppress warnings about using functions inside loops (useful for inifinityCounters)
  "loopfunc": true,
  // Suppress warnings about using assignments where conditionals are expected
  "boss": true,
  // Suppress warnings about "weird constructions"
  // i.e. allow code like:
  //  (new (function OneTimeUsePrototype () { } ))
  "supernew": true,
  // Allow backwards, node-dependency-style commas
  "laxcomma": true
}