schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
package.manifest.json
name
The (friendly) package name, shown in the backoffice and included in package telemetry. If not specified, uses the directory name instead.
{"type": "string"}
package.manifest.json
version
The package version, shown in the backoffice and included in package telemetry. If not specified, uses the `versionAssemblyName` or `id` to retrieve the assembly informational version.
{"type": "string"}
package.manifest.json
versionAssemblyName
The assembly name to retrieve the informational version, if no explicit `version` is set. If not specified, uses the `id` instead (supported in v12+).
{"type": "string"}
package.manifest.json
allowPackageTelemetry
Allows you to opt-out of including your package in telemetry reports if set to false, defaults to true.
{"type": "boolean", "default": true}
package.manifest.json
packageView
The full path to an HTML view for your package to help users maintain configuration data when viewing installed packages in the backoffice.
{"type": "string", "minLength": 1}
package.manifest.json
bundleOptions
Default: The assets will be bundled with the typical packages bundle. None: The assets in the package will not be processed at all and will all be requested as individual assets in debug and production. Independent: The packages assets will be processed as it's own separate bundle (in debug, files will not be processed).
{"type": "string", "enum": ["Default", "None", "Independent"]}
package.manifest.json
javascript
A list of JavaScript files with full path to load in the backoffice.
{"type": "array", "uniqueItems": true, "items": {"type": "string"}}
package.manifest.json
css
A list of CSS files with full path to load in the backoffice.
{"type": "array", "uniqueItems": true, "items": {"type": "string"}}
package.manifest.json
propertyEditors
Returns an array of editor objects, each object specifies an editor to make available to data types as an editor component. These editors are primarily property editors for content, media and members, but can also be made available as a macro parameter editor.
{"type": "array", "minItems": 1, "items": {"allOf": [{}, {}]}}
package.manifest.json
parameterEditors
Returns an array of editor objects, each object specifies an editor to make available to macro parameters as an editor component. These editors work solely as parameter editors, and will not show up on the property editors list.
{"type": "array", "minItems": 1, "items": {}}
package.manifest.json
gridEditors
Returns an array of grid editor objects, each object specifies a grid editor to make available in the Grid Layout property editor.
{"type": "array", "minItems": 1, "items": {}}
package.manifest.json
dashboards
Returns an array of dashboards, each object specified a dashboard to make available in the backoffice.
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {}}
package.manifest.json
sections
Returns an array of sections/applications to add to the backoffice.
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {}}
package.manifest.json
contentApps
Returns an array of Content Apps to add to the backoffice.
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {}}
red_cog_repo.schema.json
author
List of names of authors of the cog
{"type": "array", "items": {"type": "string"}}
red_cog_repo.schema.json
description
A long description of the cog or repo. For cogs, this is displayed when a user executes [p]cog info.
{"type": "string"}
red_cog_repo.schema.json
install_msg
The message that gets displayed when a cog is installed or a repo is added
{"type": "string"}
red_cog_repo.schema.json
short
A short description of the cog or repo. For cogs, this info is displayed when a user executes [p]cog list
{"type": "string"}
testenvironments.json
name
User-friendly environment name that will appear in the TestExplorer list. It must be unique within a testEnvironments.json file.
{"type": "string", "minLength": 1}
testenvironments.json
localRoot
Path on the local machine (either absolute or relative to the solution directory) which is projected into the remote environment. If not specified, this will default to the repo root within the context of a git repo (on VS 17.1 and above). Outside a git repo, this would default to the solution directory.
{"type": "string"}
testenvironments.json
dockerImage
Name of a docker image to load in a docker env. dockerImage or dockerFile must be specified, but not both.
{"type": "string"}
testenvironments.json
dockerFile
Path to a Dockerfile, relative to the solution directory, to build an image and load in a docker env. dockerImage or dockerFile must be specified, but not both.
{"type": "string"}
testenvironments.json
wslDistribution
Name of the local WSL distribution in which to run the test environment.
{"type": "string"}
testenvironments.json
remoteUri
A uri that specifies the connection to the remote machine. e.g. ssh://user@hostname:22
{"type": "string"}
testenvironments.json
remoteUri
A uri that specifies the connection to the remote machine. e.g. tcp://hostname:2358
{"type": "string"}
frogbot-schema.json
The configuration required for Frogbot to scan your Git repositories.
{"$schema": "https://json-schema.org/draft-07/schema#", "type": "array", "items": {"required": ["params"], "additionalProperties": false, "properties": {"params": {"required": ["git"], "additionalProperties": false, "properties": {"git": {}, "scan": {}, "jfrogPlatform": {}}}}}, "$git": {"required": ["repoName", "branches"], "additionalProperties": false, "properties": {"repoName": {"type": "string", "examples": ["repo-name"]}, "branches": {"type": "array", "items": {"type": "string", "default": "master", "examples": ["master", "v1", "v2"]}, "examples": [["master", "v1", "v2"]]}, "commitMessageTemplate": {"type": "string", "default": "", "examples": ["[Frogbot]", "fix(dependency) update ${IMPACTED_PACKAGE} to ${FIX_VERSION}"]}, "branchNameTemplate": {"type": "string", "default": "", "examples": ["Frogbot-${BRANCH_NAME_HASH}", "Security_Update-${BRANCH_NAME_HASH}", "${BRANCH_NAME_HASH}-Feature"]}, "pullRequestTitleTemplate": {"type": "string", "default": "", "examples": ["[Frogbot]-${IMPACTED_PACKAGE}", "[Security_Update]-${FIX_VERSION}", "[Feature]"]}, "aggregateFixes": {"type": "boolean", "default": "false"}, "emailAuthor": {"type": "string", "default": "[email protected]", "examples": ["[email protected]"]}}, "examples": [{"repoName": "repo-name", "branches": ["master"]}]}, "$scan": {"additionalProperties": false, "properties": {"includeAllVulnerabilities": {"type": "boolean"}, "failOnSecurityIssues": {"type": "boolean"}, "minSeverity": {"type": "string", "default": ["Show all severities"], "examples": ["low, medium, high, critical"]}, "fixableOnly": {"type": "boolean", "default": ["false"]}, "emailReceivers": {"type": ["array", "null"], "items": {"type": "string", "examples": ["[email protected]"]}}, "projects": {"type": ["array", "null"], "items": {"additionalProperties": false, "properties": {"installCommand": {"type": "string", "examples": ["nuget restore", "dotnet restore"]}, "workingDirs": {"type": "array", "default": ["."], "items": {"type": "string", "examples": [".", "npm-project/", "go/project-1/"], "default": "."}}, "pipRequirementsFile": {"type": "string", "examples": ["requirements.txt"]}, "useWrapper": {"type": "boolean", "default": true}, "repository": {"type": "string"}}}}}}, "$jfrogPlatform": {"additionalProperties": false, "properties": {"jfrogProjectKey": {"type": "string"}, "watches": {"type": "array", "items": {"type": "string"}}}}, "examples": [[{"params": {"git": {"repoName": "repo-name", "branches": ["master"]}}}]]}
frogbot-schema.json
params
Includes the configuration of a single Git repository that needs to be scanned. For Azure Repos, Bitbucket Server and GitHub with JFrog Pipelines or Jenkins, you can define multiple 'params' sections one after the other, for scanning multiple Git repositories in the same organization.
{"required": ["git"], "additionalProperties": false, "properties": {"git": {}, "scan": {}, "jfrogPlatform": {}}}
frogbot-schema.json
$git
Includes the required Git parameters such as repository name and branches.
{"required": ["repoName", "branches"], "additionalProperties": false, "properties": {"repoName": {"type": "string", "examples": ["repo-name"]}, "branches": {"type": "array", "items": {"type": "string", "default": "master", "examples": ["master", "v1", "v2"]}, "examples": [["master", "v1", "v2"]]}, "commitMessageTemplate": {"type": "string", "default": "", "examples": ["[Frogbot]", "fix(dependency) update ${IMPACTED_PACKAGE} to ${FIX_VERSION}"]}, "branchNameTemplate": {"type": "string", "default": "", "examples": ["Frogbot-${BRANCH_NAME_HASH}", "Security_Update-${BRANCH_NAME_HASH}", "${BRANCH_NAME_HASH}-Feature"]}, "pullRequestTitleTemplate": {"type": "string", "default": "", "examples": ["[Frogbot]-${IMPACTED_PACKAGE}", "[Security_Update]-${FIX_VERSION}", "[Feature]"]}, "aggregateFixes": {"type": "boolean", "default": "false"}, "emailAuthor": {"type": "string", "default": "[email protected]", "examples": ["[email protected]"]}}, "examples": [{"repoName": "repo-name", "branches": ["master"]}]}
frogbot-schema.json
repoName
The name of the git repository to scan.
{"type": "string", "examples": ["repo-name"]}
frogbot-schema.json
branches
A list of branches to scan.
{"type": "array", "items": {"type": "string", "default": "master", "examples": ["master", "v1", "v2"]}, "examples": [["master", "v1", "v2"]]}
frogbot-schema.json
$scan
Includes the scanning parameters such as the required scanning directories.
{"additionalProperties": false, "properties": {"includeAllVulnerabilities": {"type": "boolean"}, "failOnSecurityIssues": {"type": "boolean"}, "minSeverity": {"type": "string", "default": ["Show all severities"], "examples": ["low, medium, high, critical"]}, "fixableOnly": {"type": "boolean", "default": ["false"]}, "emailReceivers": {"type": ["array", "null"], "items": {"type": "string", "examples": ["[email protected]"]}}, "projects": {"type": ["array", "null"], "items": {"additionalProperties": false, "properties": {"installCommand": {"type": "string", "examples": ["nuget restore", "dotnet restore"]}, "workingDirs": {"type": "array", "default": ["."], "items": {"type": "string", "examples": [".", "npm-project/", "go/project-1/"], "default": "."}}, "pipRequirementsFile": {"type": "string", "examples": ["requirements.txt"]}, "useWrapper": {"type": "boolean", "default": true}, "repository": {"type": "string"}}}}}}
frogbot-schema.json
includeAllVulnerabilities
Set to true to display all existing vulnerabilities, including the ones that were not added by the pull request.
{"type": "boolean"}
frogbot-schema.json
failOnSecurityIssues
Set to true to fail the job if security issues were found.
{"type": "boolean"}
frogbot-schema.json
minSeverity
Set the minimum severity for vulnerabilities that should be fixed and commented on in pull requests.
{"type": "string", "default": ["Show all severities"], "examples": ["low, medium, high, critical"]}
frogbot-schema.json
fixableOnly
Handle vulnerabilities with fix versions only.
{"type": "boolean", "default": ["false"]}
frogbot-schema.json
emailReceivers
List of email addresses to receive emails about secrets that has been detected in a pull request scan.
{"type": ["array", "null"], "items": {"type": "string", "examples": ["[email protected]"]}}
frogbot-schema.json
projects
A list of sub-projects / project dirs inside the Git repository.
{"type": ["array", "null"], "items": {"additionalProperties": false, "properties": {"installCommand": {"type": "string", "examples": ["nuget restore", "dotnet restore"]}, "workingDirs": {"type": "array", "default": ["."], "items": {"type": "string", "examples": [".", "npm-project/", "go/project-1/"], "default": "."}}, "pipRequirementsFile": {"type": "string", "examples": ["requirements.txt"]}, "useWrapper": {"type": "boolean", "default": true}, "repository": {"type": "string"}}}}
frogbot-schema.json
installCommand
An installation command to run to resolve the project dependencies.
{"type": "string", "examples": ["nuget restore", "dotnet restore"]}
frogbot-schema.json
workingDirs
A list of relative paths to the projects directories in the git repository.
{"type": "array", "default": ["."], "items": {"type": "string", "examples": [".", "npm-project/", "go/project-1/"], "default": "."}}
frogbot-schema.json
pipRequirementsFile
The requirements file name that used to install dependencies in case of Pip package manager.
{"type": "string", "examples": ["requirements.txt"]}
frogbot-schema.json
useWrapper
Set to false to avoid using the Gradle wrapper.
{"type": "boolean", "default": true}
frogbot-schema.json
repository
Name of a Virtual Repository in Artifactory to resolve (download) the project dependencies from
{"type": "string"}
frogbot-schema.json
$jfrogPlatform
Includes the JFrog platform related parameters such as Project Watches.
{"additionalProperties": false, "properties": {"jfrogProjectKey": {"type": "string"}, "watches": {"type": "array", "items": {"type": "string"}}}}
frogbot-schema.json
jfrogProjectKey
The JFrog project. Learn more about it here: https://www.jfrog.com/confluence/display/JFROG/Projects.
{"type": "string"}
frogbot-schema.json
watches
JFrog Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches.
{"type": "array", "items": {"type": "string"}}
jscsrc.json
jsDoc
Validate jsdoc comments.
{"type": "object", "additionalProperties": true, "properties": {"checkAnnotations": {"type": ["boolean", "null", "object", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "object", "properties": {"preset": {"type": "string", "oneOf": [{"enum": ["closurecompiler"]}, {"enum": ["jsdoc3"]}, {"enum": ["jsduck5"]}]}, "extra": {"type": "object", "additionalProperties": {"oneOf": [{"type": ["boolean", "string"], "enum": [true, false, "some"]}]}}}}, {"type": "string", "oneOf": [{"enum": ["closurecompiler"]}, {"enum": ["jsdoc3"]}, {"enum": ["jsduck5"]}]}]}, "checkParamExistence": {"type": ["boolean", "null"]}, "checkParamNames": {"type": ["boolean", "null"]}, "requireParamTypes": {"type": ["boolean", "null"]}, "checkRedundantParams": {"type": ["boolean", "null"]}, "checkReturnTypes": {"type": ["boolean", "null"]}, "checkRedundantReturns": {"type": ["boolean", "null"]}, "requireReturnTypes": {"type": ["boolean", "null"]}, "checkTypes": {"type": ["boolean", "null", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "string", "oneOf": [{"enum": ["strictNativeCase"]}, {"enum": ["capitalizedNativeCase"]}]}]}, "checkRedundantAccess": {"type": ["boolean", "null", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "string", "oneOf": [{"enum": ["enforceLeadingUnderscore"]}, {"enum": ["enforceTrailingUnderscore"]}]}]}, "leadingUnderscoreAccess": {"type": ["boolean", "null", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "string", "oneOf": [{"enum": ["private"]}, {"enum": ["protected"]}]}]}, "enforceExistence": {"type": ["boolean", "null", "object", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"type": "string", "oneOf": [{"enum": ["expressions"]}, {"enum": ["exports"]}, {"enum": ["paramless-procedures"]}]}, "uniqueItems": true}}}, {"type": "string", "oneOf": [{"enum": ["exceptExports"]}]}]}, "requireHyphenBeforeDescription": {"type": ["boolean", "null"]}, "requireNewlineAfterDescription": {"type": ["boolean", "null"]}, "disallowNewlineAfterDescription": {"type": ["boolean", "null"]}, "requireDescriptionCompleteSentence": {"type": ["boolean", "null"]}, "requireParamDescription": {"type": ["boolean", "null"]}, "requireReturnDescription": {"type": ["boolean", "null"]}}}
jscsrc.json
checkAnnotations
Checks whether tag names are valid.
{"type": ["boolean", "null", "object", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "object", "properties": {"preset": {"type": "string", "oneOf": [{"enum": ["closurecompiler"]}, {"enum": ["jsdoc3"]}, {"enum": ["jsduck5"]}]}, "extra": {"type": "object", "additionalProperties": {"oneOf": [{"type": ["boolean", "string"], "enum": [true, false, "some"]}]}}}}, {"type": "string", "oneOf": [{"enum": ["closurecompiler"]}, {"enum": ["jsdoc3"]}, {"enum": ["jsduck5"]}]}]}
jscsrc.json
checkAnnotations
By default, any tag from any preset is allowed. You can pass Object to select preset with preset field and add custom tags with extra field.
{"type": "object", "properties": {"preset": {"type": "string", "oneOf": [{"enum": ["closurecompiler"]}, {"enum": ["jsdoc3"]}, {"enum": ["jsduck5"]}]}, "extra": {"type": "object", "additionalProperties": {"oneOf": [{"type": ["boolean", "string"], "enum": [true, false, "some"]}]}}}}
jscsrc.json
preset
https://github.com/google/closure-compiler
{"enum": ["closurecompiler"]}
jscsrc.json
preset
https://github.com/jsdoc3/jsdoc
{"enum": ["jsdoc3"]}
jscsrc.json
preset
https://github.com/senchalabs/jsduck
{"enum": ["jsduck5"]}
jscsrc.json
extra
Add custom tags with the extra field. The extra field should contain tags in keys with true, false, or "some" for the values.
{"type": "object", "additionalProperties": {"oneOf": [{"type": ["boolean", "string"], "enum": [true, false, "some"]}]}}
jscsrc.json
checkAnnotations
There are 3 presets: Closure Compiler, JSDoc3 and JSDuck5.
{"type": "string", "oneOf": [{"enum": ["closurecompiler"]}, {"enum": ["jsdoc3"]}, {"enum": ["jsduck5"]}]}
jscsrc.json
checkAnnotations
https://github.com/google/closure-compiler
{"enum": ["closurecompiler"]}
jscsrc.json
checkAnnotations
https://github.com/jsdoc3/jsdoc
{"enum": ["jsdoc3"]}
jscsrc.json
checkAnnotations
https://github.com/senchalabs/jsduck
{"enum": ["jsduck5"]}
jscsrc.json
checkParamExistence
Checks whether all parameters are documented.
{"type": ["boolean", "null"]}
jscsrc.json
checkParamNames
Checks whether param names in jsdoc and in function declaration are equal.
{"type": ["boolean", "null"]}
jscsrc.json
requireParamTypes
Checks whether params in jsdoc contains type.
{"type": ["boolean", "null"]}
jscsrc.json
checkRedundantParams
Reports redundant params in jsdoc.
{"type": ["boolean", "null"]}
jscsrc.json
checkReturnTypes
Checks for differences between the jsdoc and actual return types if both exist.
{"type": ["boolean", "null"]}
jscsrc.json
checkRedundantReturns
Report statements for functions without a return, which are described with an @return tag.
{"type": ["boolean", "null"]}
jscsrc.json
requireReturnTypes
Checks whether @returns in jsdoc contains type.
{"type": ["boolean", "null"]}
jscsrc.json
checkTypes
Reports invalid types for bunch of tags.
{"type": ["boolean", "null", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "string", "oneOf": [{"enum": ["strictNativeCase"]}, {"enum": ["capitalizedNativeCase"]}]}]}
jscsrc.json
checkTypes
Can equal "strictNativeCase" or "capitalizedNativeCase".
{"type": "string", "oneOf": [{"enum": ["strictNativeCase"]}, {"enum": ["capitalizedNativeCase"]}]}
jscsrc.json
checkTypes
The strictNativeCase mode checks that case of natives is the same as in this list: boolean, number, string, Object, Array, Date, RegExp.
{"enum": ["strictNativeCase"]}
jscsrc.json
checkTypes
The capitalizedNativeCase mode checks that the first letter in all native types and primitives is uppercased except the case with function in google closure format: {function(...)}.
{"enum": ["capitalizedNativeCase"]}
jscsrc.json
checkRedundantAccess
Reports redundant access declarations.
{"type": ["boolean", "null", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "string", "oneOf": [{"enum": ["enforceLeadingUnderscore"]}, {"enum": ["enforceTrailingUnderscore"]}]}]}
jscsrc.json
checkRedundantAccess
If an @access tag is specified, the function name must contain a leading _underscore.
{"enum": ["enforceLeadingUnderscore"]}
jscsrc.json
checkRedundantAccess
If an @access tag is specified, the function name must contain a trailing underscore_.
{"enum": ["enforceTrailingUnderscore"]}
jscsrc.json
leadingUnderscoreAccess
Checks whether access declaration is set for _underscored function names. Ignores a bunch of popular identifiers: __filename, __dirname, __proto__, __defineGetter__, super_, __constructor, etc.
{"type": ["boolean", "null", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "string", "oneOf": [{"enum": ["private"]}, {"enum": ["protected"]}]}]}
jscsrc.json
leadingUnderscoreAccess
true (means not public). Report if @private or @protected is absent from _underscored function names.
{"type": "boolean"}
jscsrc.json
leadingUnderscoreAccess
Enforce only @private for all _underscored function names.
{"enum": ["private"]}
jscsrc.json
leadingUnderscoreAccess
Enforce only @protected for all _underscored function names.
{"enum": ["protected"]}
jscsrc.json
enforceExistence
Checks whether jsdoc block exists.
{"type": ["boolean", "null", "object", "string"], "oneOf": [{"type": "boolean"}, {}, {"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"type": "string", "oneOf": [{"enum": ["expressions"]}, {"enum": ["exports"]}, {"enum": ["paramless-procedures"]}]}, "uniqueItems": true}}}, {"type": "string", "oneOf": [{"enum": ["exceptExports"]}]}]}
jscsrc.json
enforceExistence
An object that contains an "allExcept" key equal to an array of exception values.
{"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"type": "string", "oneOf": [{"enum": ["expressions"]}, {"enum": ["exports"]}, {"enum": ["paramless-procedures"]}]}, "uniqueItems": true}}}
jscsrc.json
allExcept
Array of quoted keywords to exempt.
{"type": "array", "minItems": 0, "items": {"type": "string", "oneOf": [{"enum": ["expressions"]}, {"enum": ["exports"]}, {"enum": ["paramless-procedures"]}]}, "uniqueItems": true}
jscsrc.json
items
Skip expression functions.
{"enum": ["expressions"]}
jscsrc.json
items
Skip module.exports = function () {};
{"enum": ["exports"]}
jscsrc.json
items
Functions without parameters and with empty return statements will be skipped.
{"enum": ["paramless-procedures"]}
jscsrc.json
enforceExistence
Deprecated in favor of the object "allExcept": ["exports"] rule format.
{"type": "string", "oneOf": [{"enum": ["exceptExports"]}]}
jscsrc.json
enforceExistence
Skip expression functions.
{"enum": ["exceptExports"]}
jscsrc.json
requireHyphenBeforeDescription
Checks whether a jsdoc param description has a hyphen before it (checks for -).
{"type": ["boolean", "null"]}
jscsrc.json
requireNewlineAfterDescription
Checks whether a jsdoc comment description has a padding (trailing) newline separator between it and additional @tags.
{"type": ["boolean", "null"]}
jscsrc.json
disallowNewlineAfterDescription
Checks whether a jsdoc comment description has no padding (trailing) newline separator between it and additional @tags.
{"type": ["boolean", "null"]}
jscsrc.json
requireDescriptionCompleteSentence
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.
{"type": ["boolean", "null"]}
jscsrc.json
requireParamDescription
Checks whether a jsdoc param description exists.
{"type": ["boolean", "null"]}
jscsrc.json
requireReturnDescription
Checks whether a jsdoc return description exists.
{"type": ["boolean", "null"]}
jscsrc.json
nullRule
Removes the rule.
{"type": "null"}
jscsrc.json
additionalRules
Path to load additional rules
{"type": "array", "items": {"type": "string"}, "uniqueItems": true}
jscsrc.json
disallowAnonymousFunctions
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.
{"type": ["boolean", "null"]}
jscsrc.json
disallowArrowFunctions
Disallows arrow functions.
{"type": ["boolean", "null"]}
jscsrc.json
disallowCapitalizedComments
Requires the first alphabetical character of a comment to be lowercase.
{"type": ["boolean", "null"]}
jscsrc.json
disallowCommaBeforeLineBreak
Disallows commas as last token on a line in lists.
{"type": ["boolean", "null", "object"], "oneOf": [{"type": "boolean"}, {}, {"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"enum": ["function"]}, "uniqueItems": true}}}]}
jscsrc.json
disallowCommaBeforeLineBreak
For default behavior (strict mode, comma on the same line).
{"type": "boolean"}
jscsrc.json
disallowCommaBeforeLineBreak
An object that contains an "allExcept" key equal to an array of quoted exceptions.
{"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"enum": ["function"]}, "uniqueItems": true}}}
jscsrc.json
allExcept
Array of quoted keywords to exempt.
{"type": "array", "minItems": 0, "items": {"enum": ["function"]}, "uniqueItems": true}
jscsrc.json
disallowCurlyBraces
Disallows curly braces after statements.
{"type": ["array", "boolean", "null"], "oneOf": [{}]}
jscsrc.json
disallowDanglingUnderscores
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).
{"type": ["boolean", "null", "object"], "oneOf": [{"type": "boolean"}, {}, {"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"type": "string"}, "uniqueItems": true}}}]}
jscsrc.json
disallowDanglingUnderscores
An object that contains an "allExcept" key equal to an array of quoted exceptions.
{"type": "object", "properties": {"allExcept": {"type": "array", "minItems": 0, "items": {"type": "string"}, "uniqueItems": true}}}