Type object
File match .jscsrc jscsrc.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/jscsrc/latest.json
Source https://www.schemastore.org/jscsrc.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

additionalRules string[]

Path to load additional rules

uniqueItems=true
disallowAnonymousFunctions boolean | null

Requires that a function expression be named. Named functions provide more information in the error stack trace than anonymous functions. This option does not help if you use Arrow functions (ES6) which are always anonymous.

disallowArrowFunctions boolean | null

Disallows arrow functions.

disallowCapitalizedComments boolean | null

Requires the first alphabetical character of a comment to be lowercase.

disallowCommaBeforeLineBreak boolean | null | object

Disallows commas as last token on a line in lists.

One of: boolean boolean, nullRule null, object object
disallowCurlyBraces array | boolean | null

Disallows curly braces after statements.

One of: keywords2 array | boolean | null
disallowDanglingUnderscores boolean | null | object

Disallows identifiers that start or end in _. Some popular identifiers are automatically listed as exceptions: proto (javascript), _ (underscore.js), __filename (node.js global), _dirname (node.js global), super (node.js, used by util.inherits).

One of: boolean boolean, nullRule null, object object
disallowEmptyBlocks boolean | null | object

Disallows empty blocks (except for catch blocks).

One of: boolean boolean, nullRule null, object object
disallowFunctionDeclarations boolean | null

Disallows function declarations.

disallowIdenticalDestructuringNames boolean | null

Disallows identical destructuring names for the key and value in favor of using shorthand destructuring.

disallowIdentifierNames array | null

Disallows a specified set of identifier names.

One of: string[] string[], nullRule null
disallowImplicitTypeConversion array | null

Disallows implicit type conversion.

uniqueItems=true
disallowKeywordsInComments array | boolean | null | string

Disallows one or more keywords in comments.

One of: string[] string[], boolean boolean, nullRule null, string string
disallowKeywordsOnNewLine array | null

Disallows placing the specified keywords on a new line.

One of: keywords array | null
disallowKeywords array | null

Disallows usage of the specified keywords.

One of: keywords array | null
disallowMixedSpacesAndTabs boolean | null | string

Requires lines to not contain both spaces and tabs consecutively, or spaces after tabs only for alignment if "smart

Values: true false null "smart"
disallowMultiLineTernary boolean | null

Disallows the test, consequent and alternate to be on separate lines when using the ternary operator.

disallowMultipleLineBreaks boolean | null

Disallows multiple blank lines in a row.

disallowMultipleLineStrings boolean | null

Disallows strings that span multiple lines without using concatenation.

disallowMultipleSpaces boolean | null | object

Disallows multiple indentation characters (tabs or spaces) between identifiers, keywords, and any other token.

One of: boolean boolean, nullRule null, object object
disallowMultipleVarDecl boolean | null | object

Disallows multiple var declaration (except for-loop).

One of: boolean boolean, nullRule null, object object
disallowNamedUnassignedFunctions boolean | null

Disallows unassigned functions to be named inline.

disallowNestedTernaries boolean | null | object

Disallows nested ternaries.

One of: boolean boolean, nullRule null, object object
disallowNewlineBeforeBlockStatements array | boolean | null | object

Disallows newline before opening curly brace of all block statements.

One of: blockKeywords array | null, boolean boolean, nullRule null, object object
disallowNodeTypes array | null

Disallow use of certain node types (from Esprima/ESTree). Value equals an array of parser node types to be disallowed.

One of: esprimaNodeTypes array | null
disallowNotOperatorsInConditionals boolean | null

Disallows the not, not equals, and strict not equals operators in conditionals.

disallowObjectKeysOnNewLine boolean | null

Disallows placing object keys on new line.

disallowOperatorBeforeLineBreak array | boolean | null

Requires putting certain operators on the next line rather than on the current line before a line break.

One of: operators array | boolean | null
disallowPaddingNewLinesAfterBlocks boolean | null

Disallow a newline after blocks.

disallowPaddingNewLinesAfterUseStrict boolean | null

Disallow a blank line after 'use strict'; statements.

disallowPaddingNewLinesBeforeExport boolean | null

Disallows newline before module.exports.

disallowPaddingNewlinesBeforeKeywords array | boolean | null

Disallow an empty line above the specified keywords.

One of: keywords2 array | boolean | null
disallowPaddingNewLinesBeforeLineComments boolean | null

Disallows newline before line comments.

One of: boolean boolean, nullRule null
disallowPaddingNewlinesInBlocks boolean | null | object

Disallows blocks from beginning or ending with 2 newlines.

One of: boolean boolean, nullRule null, object object
disallowPaddingNewLinesInObjects boolean | null

Disallows newlines adjacent to curly braces in all object literals.

disallowParenthesesAroundArrowParam boolean | null

Disallows parentheses around arrow function expressions that contain a single parameter.

disallowQuotedKeysInObjects boolean | null | object | string

Disallows quoted keys in object if possible.

One of: boolean boolean, nullRule null, object object, string string
disallowSemicolons boolean | null

Disallows lines from ending in a semicolon.

disallowShorthandArrowFunctions boolean | null

Require arrow functions to use a block statement (explicit return).

disallowSpaceAfterBinaryOperators array | boolean | null

Requires sticking binary operators to the right.

One of: operators array | boolean | null
disallowSpaceAfterComma boolean | null | object

Disallows spaces after commas.

One of: boolean boolean, nullRule null, object object
disallowSpaceAfterKeywords array | boolean | null

Disallows space after the specified keywords. A value of true will require spaces after all possible keywords.

One of: keywords2 array | boolean | null
disallowSpaceAfterLineComment boolean | null

Requires that a line comment (//) not be followed by a space.

disallowSpaceAfterObjectKeys boolean | null | object | string

Disallows space after object keys.

One of: boolean boolean, nullRule null, object object, string string
disallowSpaceAfterPrefixUnaryOperators array | boolean | null

Requires sticking unary operators to the right.

One of: unaryOperators array | boolean | null
disallowSpaceBeforeBinaryOperators array | boolean | null

Requires sticking binary operators to the left.

One of: operators array | boolean | null
disallowSpaceBeforeBlockStatements boolean | null

Disallows space before block statements (for loops, control structures).

disallowSpaceBeforeComma boolean | null | object | string

Disallows spaces before commas.

One of: boolean boolean, nullRule null, object object, string string
disallowSpaceBeforeKeywords array | boolean | null

Disallows space before keyword.

One of: keywords2 array | boolean | null
disallowSpaceBeforeObjectValues boolean | null

Disallows space before object values.

disallowSpaceBeforePostfixUnaryOperators array | boolean | null

Requires sticking unary operators to the left.

One of: unaryOperators array | boolean | null
disallowSpaceBeforeSemicolon boolean | null | object

Disallows spaces before semicolons.

One of: boolean boolean, nullRule null, object object
disallowSpaceBetweenArguments boolean | null

Ensure there are no spaces after argument separators in call expressions.

disallowSpacesInAnonymousFunctionExpression null | object

Disallows space before () or {} in anonymous function expressions.

One of: braceRules null | object
disallowSpacesInCallExpression boolean | null

Disallows space before () in call expressions.

disallowSpacesInConditionalExpression boolean | null | object

Disallows space before and/or after ? or : in conditional expressions.

Any of: boolean boolean, nullRule null, variant
disallowSpacesInForStatement boolean | null

Disallow spaces in between for statement.

disallowSpacesInFunction null | object

Disallows space before () or {} in function expressions (both named and anonymous) and function declarations.

One of: braceRules null | object
disallowSpacesInFunctionDeclaration null | object

Disallows space before () or {} in function declarations.

One of: braceRules null | object
disallowSpacesInFunctionExpression null | object

Disallows space before () or {} in function expressions (both named and anonymous).

One of: braceRules null | object
disallowSpacesInGenerator null | object

Disallow space before or after * in generator functions.

One of: nullRule null, object object
disallowSpacesInNamedFunctionExpression null | object

Disallows space before () or {} in named function expressions

One of: braceRules null | object
disallowSpacesInsideArrayBrackets boolean | null | object | string

Disallows space after opening array square bracket and before closing. Reports only on arrays, not on property accessors. Use disallowSpacesInsideBrackets to report on all brackets.

One of: boolean | string boolean | string, nullRule null, object object, string string
disallowSpacesInsideBrackets boolean | null | object

Disallows space after opening square bracket and before closing. Reports on all on brackets, even on property accessors. Use disallowSpacesInsideArrayBrackets to exclude property accessors.

One of: boolean boolean, nullRule null, object object
disallowSpacesInsideObjectBrackets boolean | null | object | string

Disallows space after opening object curly brace and before closing.

One of: boolean | string boolean | string, nullRule null, object object, string string
disallowSpacesInsideParentheses boolean | null | string | object

Disallows space after opening round bracket and before closing.

One of: boolean | string boolean | string, nullRule null, object object
disallowSpacesInsideParenthesizedExpression boolean | null | object

Disallows space after opening and before closing grouping parentheses.

One of: boolean boolean, nullRule null, object object
disallowSpacesInsideTemplateStringPlaceholders boolean | null

Disallows spaces before and after curly brace inside template string placeholders.

One of: boolean boolean, nullRule null
disallowTabs boolean | null

Disallows tabs everywhere.

One of: boolean boolean, nullRule null
disallowTrailingComma boolean | null

Disallows an extra comma following the final element of an array or object literal.

One of: boolean boolean, nullRule null
disallowTrailingWhitespace boolean | null | string

Requires all lines to end on a non-whitespace character.

One of: boolean | string boolean | string, nullRule null
disallowUnusedParams boolean | null

Disallows unused params in function expression and function declaration.

One of: boolean boolean, nullRule null
disallowVar boolean | nullRule

Disallows declaring variables with var.

disallowYodaConditions array | boolean | null

Requires the variable to be the left hand operator when doing a boolean comparison. Array of quoted operators or true to disallow yoda conditions for most possible comparison operators.

One of: equalityOperators array | boolean | null
excludeFiles string[]

Disables style checking for specified paths.

uniqueItems=true
jsDoc object

Validate jsdoc comments.

18 nested properties
checkAnnotations boolean | null | object | string

Checks whether tag names are valid.

One of: boolean boolean, nullRule null, object object, string string
checkParamExistence boolean | null

Checks whether all parameters are documented.

checkParamNames boolean | null

Checks whether param names in jsdoc and in function declaration are equal.

requireParamTypes boolean | null

Checks whether params in jsdoc contains type.

checkRedundantParams boolean | null

Reports redundant params in jsdoc.

checkReturnTypes boolean | null

Checks for differences between the jsdoc and actual return types if both exist.

checkRedundantReturns boolean | null

Report statements for functions without a return, which are described with an @return tag.

requireReturnTypes boolean | null

Checks whether @returns in jsdoc contains type.

checkTypes boolean | null | string

Reports invalid types for bunch of tags.

One of: boolean boolean, nullRule null, string string
checkRedundantAccess boolean | null | string

Reports redundant access declarations.

One of: boolean boolean, nullRule null, string string
leadingUnderscoreAccess boolean | null | string

Checks whether access declaration is set for _underscored function names. Ignores a bunch of popular identifiers: __filename, _dirname, proto, defineGetter, super, __constructor, etc.

One of: boolean boolean, nullRule null, string string
enforceExistence boolean | null | object | string

Checks whether jsdoc block exists.

One of: boolean boolean, nullRule null, object object, string string
requireHyphenBeforeDescription boolean | null

Checks whether a jsdoc param description has a hyphen before it (checks for -).

requireNewlineAfterDescription boolean | null

Checks whether a jsdoc comment description has a padding (trailing) newline separator between it and additional @tags.

disallowNewlineAfterDescription boolean | null

Checks whether a jsdoc comment description has no padding (trailing) newline separator between it and additional @tags.

requireDescriptionCompleteSentence boolean | null

Checks whether a jsdoc comment description is a complete sentence. A complete sentence is defined as starting with an upper case letter and ending with a period.

requireParamDescription boolean | null

Checks whether a jsdoc param description exists.

requireReturnDescription boolean | null

Checks whether a jsdoc return description exists.

maximumLineLength integer | null | object

Requires all lines to be at most the number of characters specified.

One of: integer integer, nullRule null, object object
maximumNumberOfLines integer | null | object

Requires the file to be at most the number of lines specified.

One of: integer integer, nullRule null, object object
preset string

Extends defined rules with preset rules.

Values: "airbnb" "crockford" "google" "grunt" "idiomatic" "jquery" "mdcs" "node-style-guide" "wikimedia" "wordpress" "yandex"
requireAlignedMultilineParams boolean | integer | null | string

Enforces indentation of parameters in multiline functions.

One of: boolean boolean, integer integer, nullRule null, string string
requireAlignedObjectValues null | string

Requires proper alignment in object literals.

One of: nullRule null, string string
requireAnonymousFunctions boolean | null | object

Requires that a function expression be anonymous.

One of: boolean boolean, nullRule null, object object
requireArrayDestructuring boolean | null

Requires that variable assignment from array values are * destructured.

One of: boolean boolean, nullRule null
requireArrowFunctions boolean | null

Requires that arrow functions are used instead of anonymous function expressions in callbacks.

One of: boolean boolean, nullRule null
requireBlocksOnNewline boolean | integer | null | object

Requires blocks to begin and end with a newline.

One of: boolean boolean, integer integer, nullRule null, object object
requireCamelCaseOrUpperCaseIdentifiers boolean | null | object | string

Requires identifiers to be camelCased or UPPERCASE_WITH_UNDERSCORES.

One of: boolean boolean, nullRule null, object object, string string
requireCapitalizedComments boolean | null | object

Requires the first alphabetical character of a comment to be uppercase, unless it is part of a multi-line textblock. This rule automatically ignores jscs, jshint, eslint, and istanbul specific comments.

One of: boolean boolean, nullRule null, object object
requireCapitalizedConstructorsNew boolean | null | object

Requires capitalized constructors to to use the new keyword.

One of: boolean boolean, nullRule null, object object
requireCapitalizedConstructors boolean | null | object

Requires constructors to be capitalized (except for "this")

One of: boolean boolean, nullRule null, object object
requireCommaBeforeLineBreak boolean | null

Requires commas as last token on a line in lists.

One of: boolean boolean, nullRule null
requireCurlyBraces array | boolean | null | object

Requires curly braces after statements. A value of true will require curly braces for all the necessary keywords: if, else, for, while do, try, catch, case, and default.

One of: keywords2 array | boolean | null, object object
requireDollarBeforejQueryAssignment boolean | null | string

Require a $ before variable names that are jquery assignments.

One of: boolean | string boolean | string, nullRule null
requireDotNotation boolean | null | object | string

Requires member expressions to use dot notation when possible.

One of: boolean boolean, nullRule null, object object, string string
requireEarlyReturn boolean | null

Requires early return in a function.

One of: boolean boolean, nullRule null
requireEnhancedObjectLiterals boolean | null

Requires declaring objects via ES6 enhanced object literals.

One of: boolean boolean, nullRule null
requireFunctionDeclarations boolean | null

Requires function declarations by disallowing assignment of functions expressions to variables. Function expressions are allowed in all other contexts, including when passed as function arguments or immediately invoked. Assignment of function expressions to object members is also permitted, since these can't be declared.

One of: boolean boolean, nullRule null
requireImportAlphabetized boolean | null

Requires imports to be alphabetized (A-Z).

One of: boolean boolean, nullRule null
requireKeywordsOnNewLine array | null

Requires placing the specified keywords on a new line.

One of: keywords array | null
requireLineBreakAfterVariableAssignment boolean | null

Requires placing line feed after assigning a variable.

One of: boolean boolean, nullRule null
requireLineFeedAtFileEnd boolean | null

Requires placing line feed at file end.

One of: boolean boolean, nullRule null
requireMatchingFunctionName boolean | null | object

Requires function names to match member and property names. It doesn't affect anonymous functions nor functions assigned to members or properties named with a reserved word. Assigning to module.exports is also ignored, unless includeModuleExports: true is configured.

One of: boolean boolean, nullRule null, object object
requireMultiLineTernary boolean | null

Requires the test, consequent and alternate to be on separate lines when using the ternary operator.

One of: boolean boolean, nullRule null
requireMultipleVarDecl boolean | null | object | string

Requires multiple var declaration.

One of: boolean boolean, nullRule null, object object, string string
requireNamedUnassignedFunctions boolean | null | object

Require unassigned functions to be named inline.

One of: boolean boolean, nullRule null, object object
requireNewlineBeforeBlockStatements array | boolean | null

Requires newline before opening curly brace of all block statements. If true, always requires newline before curly brace of block statements. Array specifies block-type keywords after which newlines are required before curly brace.

One of: keywords2 array | boolean | null
requireNumericLiterals boolean | null

Requires use of binary, hexadecimal, and octal literals instead of parseInt.

One of: boolean boolean, nullRule null
requireObjectDestructuring boolean | null

Requires variable declarations from objects via destructuring.

One of: boolean boolean, nullRule null
requireObjectKeysOnNewLine boolean | null | object

Requires placing object keys on new line.

One of: boolean boolean, nullRule null, object object
requireOperatorBeforeLineBreak array | boolean | null

Requires operators to appear before line breaks and not after.

One of: operators array | boolean | null
requirePaddingNewLineAfterVariableDeclaration boolean | null

Requires an extra blank newline after var declarations, as long as it is not the last expression in the current block.

One of: boolean boolean, nullRule null
requirePaddingNewLinesAfterBlocks boolean | null | object

Requires newline after blocks.

One of: boolean boolean, nullRule null, object object
requirePaddingNewLinesAfterUseStrict boolean | null | object

Requires a blank line after 'use strict'; statements.

One of: boolean boolean, nullRule null, object object
requirePaddingNewLinesBeforeExport boolean | null

Requires newline before module.exports.

One of: boolean boolean, nullRule null
requirePaddingNewlinesBeforeKeywords array | boolean | null

Requires an empty line above the specified keywords unless the keyword is the first expression in a block. If true, specifies that the spacedKeywords found in the utils module require an empty line above it. Array values indicate keywords that require an empty line above it.

One of: keywords2 array | boolean | null
requirePaddingNewLinesBeforeLineComments boolean | null | object

Requires newline before line comments.

One of: boolean boolean, nullRule null, object object
requirePaddingNewlinesInBlocks boolean | integer | null | object

Requires blocks to begin and end with 2 newlines.

One of: boolean boolean, integer integer, nullRule null, object object
requirePaddingNewLinesInObjects boolean | null

Requires newline inside curly braces of all objects.

One of: boolean boolean, nullRule null
requireParenthesesAroundArrowParam boolean | null

Requires parentheses around arrow function expressions with a single parameter.

One of: boolean boolean, nullRule null
requireParenthesesAroundIIFE boolean | null

Requires parentheses around immediately invoked function expressions.

One of: boolean boolean, nullRule null
requireQuotedKeysInObjects boolean | null

Requires quoted keys in objects.

One of: boolean boolean, nullRule null
requireSemicolons boolean | null

Requires semicolon after: var declaration, expression statement, return, throw, break, continue, do-while.

One of: boolean boolean, nullRule null
requireShorthandArrowFunctions boolean | null

Require arrow functions to use an expression body when returning a single statement (no block statement, implicit return).

One of: boolean boolean, nullRule null
requireSpaceAfterBinaryOperators array | boolean | null

Disallows sticking binary operators to the right.

One of: operators array | boolean | null
requireSpaceAfterComma boolean | null | object

Requires space after comma.

One of: boolean boolean, nullRule null, object object
requireSpaceAfterKeywords array | boolean | null

Requires space after the specified keywords. A value of true will disallow spaces after all possible keywords.

One of: keywords2 array | boolean | null
requireSpaceAfterLineComment boolean | null | object | string

Requires that a line comment (//) be followed by a space.

One of: boolean boolean, nullRule null, object object, string string
requireSpaceAfterObjectKeys boolean | null

Requires space after object keys.

One of: boolean boolean, nullRule null
requireSpaceAfterPrefixUnaryOperators array | boolean | null

Disallows sticking unary operators to the right.

One of: unaryOperators array | boolean | null
requireSpaceBeforeBinaryOperators array | boolean | null

Disallows sticking binary operators to the left.

One of: operators array | boolean | null
requireSpaceBeforeBlockStatements boolean | null | integer

Requires space before block statements (for loops, control structures).

One of: boolean boolean, nullRule null, integer integer
requireSpaceBeforeComma boolean | null

Requires a space before a comma.

One of: boolean boolean, nullRule null
requireSpaceBeforeKeywords array | boolean | null | object

Requires a space before a keyword.

One of: blockKeywords array | null, boolean boolean, nullRule null, object object
requireSpaceBeforeObjectValues boolean | null

Requires space after object keys.

One of: boolean boolean, nullRule null
requireSpaceBeforePostfixUnaryOperators array | boolean | null

Disallows sticking unary operators to the left.

One of: unaryOperators array | boolean | null
requireSpaceBetweenArguments boolean | null

Ensure there are spaces after argument separators in call expressions.

One of: boolean boolean, nullRule null
requireSpacesInAnonymousFunctionExpression null | object

Requires space before () or {} in function expressions (both named and anonymous).

One of: object object
requireSpacesInCallExpression boolean | null

Requires space before () in call expressions.

One of: boolean boolean, nullRule null
requireSpacesInConditionalExpression boolean | null | object

Requires space before and/or after ? or : in conditional expressions.

One of: boolean boolean, nullRule null, object object
requireSpacesInForStatement boolean | null

Requires spaces in between for statement.

One of: boolean boolean, nullRule null
requireSpacesInFunction null | object

Requires space before () or {} in function expressions (both named and anonymous) and function declarations.

One of: braceRules null | object
requireSpacesInFunctionDeclaration null | object

Requires space before () or {} in function declarations.

One of: braceRules null | object
requireSpacesInFunctionExpression null | object

Requires space before () or {} in function expressions (both named and anonymous).

One of: braceRules null | object
requireSpacesInGenerator null | object

Requires space before and after * in generator functions.

One of: nullRule null, object object
requireSpacesInNamedFunctionExpression null | object

Requires space before () or {} in named function expressions.

One of: braceRules null | object
requireSpacesInsideArrayBrackets null | object | string

Requires space after opening array square bracket and before closing. Reports only on arrays, not on property accessors. Use requireSpacesInsideBrackets to report on all brackets.

One of: nullRule null, object object, string string
requireSpacesInsideBrackets boolean | null | object

Requires space after opening square bracket and before closing. Reports on all on brackets, even on property accessors. Use requireSpacesInsideArrayBrackets to exclude property accessors.

One of: boolean boolean, nullRule null, object object
requireSpacesInsideObjectBrackets null | object | string

Requires space after opening object curly brace and before closing.

One of: nullRule null, object object, string string
requireSpacesInsideParentheses null | object | string

Requires space after opening round bracket and before closing.

One of: nullRule null, object object, string string
requireSpacesInsideParenthesizedExpression boolean | null | object

Requires space after opening and before closing grouping parentheses.

One of: boolean boolean, nullRule null, object object
requireSpread boolean | null

Disallows using .apply in favor of the spread operator.

One of: boolean boolean, nullRule null
requireTemplateStrings boolean | null | object

Requires the use of template strings instead of string concatenation.

One of: boolean boolean, nullRule null, object object
requireTrailingComma boolean | null | object

Requires an extra comma following the final element of an array or object literal.

One of: boolean boolean, nullRule null, object object
requireVarDeclFirst boolean | null

Requires var declaration to be on the top of an enclosing scope.

One of: boolean boolean, nullRule null
requireYodaConditions array | boolean | null

Requires the variable to be the right hand operator when doing a boolean comparison. An array of quoted operators can be supplied to indicate which operators requires yoda conditions.

One of: equalityOperators array | boolean | null, boolean boolean, nullRule null
safeContextKeyword array | null | string

Option to check var that = this expressions.

One of: string[] string[], nullRule null, string string
validateAlignedFunctionParameters boolean | null | object

Validates proper alignment of function parameters.

One of: boolean boolean, nullRule null, object object
validateCommentPosition null | object

This rule is for validating the positioning of line comments. Block comments are ignored. Comments that start with the following keywords are also ignored: eslint, jshint, jslint, istanbul, global, exported, jscs, falls through eg. // jshint strict: true

One of: nullRule null, object object
validateIndentation integer | null | object | string

Validates indentation for switch statements and block statements.

One of: integer integer, nullRule null, object object
validateLineBreaks null | object | string

Option to check line break characters.

One of: nullRule null, object object, string string
validateNewlineAfterArrayElements boolean | integer | null | object

Requires each element in array on a single line when array length is more than passed maximum number or array fills more than one line.

One of: boolean boolean, integer integer, nullRule null, object object
validateOrderInObjectKeys boolean | null | string

Validates the order in object keys.

One of: boolean boolean, nullRule null, string string
validateParameterSeparator null | string

Enable validation of separators between function parameters. Will ignore newlines.

One of: nullRule null, string string
validateQuoteMarks boolean | null | object | string

Requires all quote marks to be either the supplied value, or consistent if true.

One of: boolean boolean, nullRule null, object object, string string

Definitions

blockKeywords array | null
braceRules null | object
beforeOpeningRoundBrace boolean | null
beforeOpeningCurlyBrace boolean | null
esprimaNodeTypes array | null
jsDoc object

Validate jsdoc comments.

checkAnnotations boolean | null | object | string

Checks whether tag names are valid.

One of: boolean boolean, nullRule null, object object, string string
checkParamExistence boolean | null

Checks whether all parameters are documented.

checkParamNames boolean | null

Checks whether param names in jsdoc and in function declaration are equal.

requireParamTypes boolean | null

Checks whether params in jsdoc contains type.

checkRedundantParams boolean | null

Reports redundant params in jsdoc.

checkReturnTypes boolean | null

Checks for differences between the jsdoc and actual return types if both exist.

checkRedundantReturns boolean | null

Report statements for functions without a return, which are described with an @return tag.

requireReturnTypes boolean | null

Checks whether @returns in jsdoc contains type.

checkTypes boolean | null | string

Reports invalid types for bunch of tags.

One of: boolean boolean, nullRule null, string string
checkRedundantAccess boolean | null | string

Reports redundant access declarations.

One of: boolean boolean, nullRule null, string string
leadingUnderscoreAccess boolean | null | string

Checks whether access declaration is set for _underscored function names. Ignores a bunch of popular identifiers: __filename, _dirname, proto, defineGetter, super, __constructor, etc.

One of: boolean boolean, nullRule null, string string
enforceExistence boolean | null | object | string

Checks whether jsdoc block exists.

One of: boolean boolean, nullRule null, object object, string string
requireHyphenBeforeDescription boolean | null

Checks whether a jsdoc param description has a hyphen before it (checks for -).

requireNewlineAfterDescription boolean | null

Checks whether a jsdoc comment description has a padding (trailing) newline separator between it and additional @tags.

disallowNewlineAfterDescription boolean | null

Checks whether a jsdoc comment description has no padding (trailing) newline separator between it and additional @tags.

requireDescriptionCompleteSentence boolean | null

Checks whether a jsdoc comment description is a complete sentence. A complete sentence is defined as starting with an upper case letter and ending with a period.

requireParamDescription boolean | null

Checks whether a jsdoc param description exists.

requireReturnDescription boolean | null

Checks whether a jsdoc return description exists.

keywords array | null
keywords2 array | boolean | null
nullRule null

Removes the rule.

operators array | boolean | null
equalityOperators array | boolean | null
unaryOperators array | boolean | null