schema
stringclasses 471
values | key
stringlengths 0
203
| description
stringlengths 0
4.37k
| object
stringlengths 2
322k
|
---|---|---|---|
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | file-name-casing | Enforces a consistent file naming convention. | {"definitions": {"file-name-cases": {"type": "string", "enum": ["camel-case", "pascal-case", "kebab-case", "snake-case"]}}, "type": "array", "minItems": 2, "items": [{"type": "boolean"}, {"oneOf": [{}, {"type": "object", "additionalProperties": {}, "minProperties": 1}]}]} |
tslint.json | forin | Requires a `for ... in` statement to be filtered with an `if` statement. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | import-blacklist | Disallows importing the specified modules directly via `import` and `require`.
Instead only sub modules may be imported from that module. | {"definitions": {"options": {"type": "array", "items": {"oneOf": [{"type": "string", "minLength": 1}, {"type": "object", "additionalProperties": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}}}, {"type": "array", "items": {"type": "string"}, "minLength": 1}]}, "minItems": 1, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | import-spacing | Ensures proper spacing between import statement keywords | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | indent | Enforces indentation with tabs or spaces. | {"definitions": {"options": {"type": "array", "items": [{"type": "string", "enum": ["tabs", "spaces"]}, {"type": "number", "enum": [2, 4]}], "minItems": 1, "maxItems": 2}}, "allOf": [{}, {"items": [{"type": "boolean"}, {}, {}], "maxItems": 3, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | jsdoc-format | Enforces basic format rules for JSDoc comments. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["check-multiline-start"]}, "minItems": 0, "maxItems": 1, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | label-position | Only allows labels in sensible locations. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | linebreak-style | Enforces a consistent linebreak style. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["LF", "CRLF"]}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | max-classes-per-file | A file may not contain more than the specified number of classes | {"definitions": {"options": {"type": "array", "items": [{"type": "number", "minimum": 1}, {"type": "string", "enum": ["exclude-class-expressions"]}], "minItems": 1, "maxItems": 2}}, "allOf": [{}, {"items": [{"type": "boolean"}, {}, {}], "additionalItems": false, "minItems": 2, "maxItems": 3, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | max-file-line-count | Requires files to remain under a certain number of lines | {"definitions": {"options": {"type": "array", "items": {"type": "number", "minimum": 1}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | max-line-length | Requires lines to be under a certain max length. | {"definitions": {"options": {"type": "array", "items": {"oneOf": [{"type": "number"}, {"type": "object", "properties": {"limit": {"type": "number"}, "ignore-pattern": {"type": "string"}, "check-strings": {"type": "boolean"}, "check-regex": {"type": "boolean"}}, "additionalProperties": false}]}, "minLength": 1, "maxLength": 2}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | member-ordering | Enforces member ordering. | {"definitions": {"kinds": {"type": "array", "items": {"type": "string", "enum": ["static-field", "instance-field", "static-method", "instance-method", "constructor", "public-static-field", "public-static-method", "protected-static-field", "protected-static-method", "private-static-field", "private-static-method", "public-instance-field", "protected-instance-field", "private-instance-field", "public-constructor", "protected-constructor", "private-constructor", "public-instance-method", "protected-instance-method", "private-instance-method", "public-static-accessor", "protected-static-accessor", "private-static-accessor", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor"]}, "minItems": 1, "maxItems": 15, "uniqueItems": true}, "options": {"type": "array", "items": {"type": "object", "properties": {"order": {"oneOf": [{"type": "string", "enum": ["fields-first", "instance-sandwich", "statics-first"]}, {"type": "array", "items": {"anyOf": [{}, {"type": "object", "properties": {"name": {"type": "string"}, "kinds": {}}, "additionalProperties": false}]}, "minItems": 1, "maxItems": 15, "uniqueItems": true}]}, "alphabetize": {"type": "boolean"}}, "additionalProperties": false}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | newline-before-return | Enforces blank line before return when not the only line in the block. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | newline-per-chained-call | Requires that chained method calls be broken apart onto separate lines. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | new-parens | Requires parentheses when invoking a constructor via the `new` keyword. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-arg | Disallows use of `arguments.callee`. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-bitwise | Disallows bitwise operators. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-conditional-assignment | Disallows any type of assignment in conditionals. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-consecutive-blank-lines | Disallows one or more blank lines in a row. | {"definitions": {"options": {"type": "array", "items": {"type": "number", "minimum": 1}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-console | Bans the use of specified `console` methods. | {"definitions": {"options": {"type": "array", "items": {"type": "string"}, "minItems": 1, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-construct | Disallows access to the constructors of `String`, `Number`, and `Boolean`. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-debugger | Disallows `debugger` statements. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-default-export | Disallows default exports in ES6-style modules. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-duplicate-imports | Disallows multiple import statements from the same module. | {"definitions": {"options": {"type": "object", "properties": {"allow-namespace-imports": {"type": "boolean"}}, "additionalProperties": false}}, "allOf": [{}, {"items": [{"type": "boolean"}, {}], "maxItems": 2, "properties": {"options": {"oneOf": [{}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}]} |
tslint.json | no-duplicate-super | Warns if 'super()' appears twice in a constructor. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-duplicate-switch-case | Prevents duplicate cases in switch statements. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-duplicate-variable | Disallows duplicate variable declarations in the same block scope. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["check-parameters"]}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-dynamic-delete | Bans usage of the delete operator with computed key expressions. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-empty | Disallows empty blocks. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["allow-empty-catch", "allow-empty-functions"]}, "minItems": 1, "maxItems": 2, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 3, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-eval | Disallows `eval` function invocations. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-for-in | Forbid for…in statements
https://palantir.github.io/tslint/rules/no-for-in/ | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "additionalProperties": false}]} |
tslint.json | no-for-in-array | Disallows iterating over an array with a for-in loop. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-implicit-dependencies | Disallows importing modules that are not listed as dependency in the project's package.json. | {"definitions": {"options": {"type": "array", "items": [{"type": "string", "enum": ["dev", "optional"]}, {"type": "array"}], "minItems": 0, "maxItems": 3}}, "allOf": [{}, {"items": [{"type": "boolean"}], "maxItems": 3, "additionalItems": {}, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-import-side-effect | Avoid import statements with side-effect. | {"definitions": {"options": {"type": "array", "items": {"type": "object", "properties": {"ignore-module": {"type": "string"}}, "additionalProperties": false}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-invalid-template-strings | Warns on use of `${` in non-template strings. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-invalid-this | Disallows using the `this` keyword outside of classes. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["check-function-in-method"]}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-irregular-whitespace | Disallow irregular whitespace outside of strings and comments | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-magic-numbers | Disallows the use constant number values outside of variable assignments.
When no list of allowed values is specified, -1, 0 and 1 are allowed by default. | {"definitions": {"options": {"type": "array", "items": {"type": "number"}, "minItems": 1, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-null-undefined-union | Forbid explicitly declared or implicitly returned union types with both null and undefined as members
https://palantir.github.io/tslint/rules/no-null-undefined-union/ | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "additionalProperties": false}]} |
tslint.json | no-null-keyword | Disallows use of the `null` keyword literal. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-parameter-reassignment | Disallows reassigning parameters. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-reference | Disallows `/// <reference path=>` imports (use ES6-style imports instead). | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-return-await | Disallows unnecessary `return await`. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-require-imports | Disallows invocation of `require()`. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-shadowed-variable | Disallows shadowing variable declarations. | {"definitions": {"options": {"type": "array", "items": {"type": "object", "properties": {"class": {"type": "boolean"}, "enum": {"type": "boolean"}, "function": {"type": "boolean"}, "import": {"type": "boolean"}, "interface": {"type": "boolean"}, "namespace": {"type": "boolean"}, "typeAlias": {"type": "boolean"}, "typeParameter": {"type": "boolean"}}, "additionalProperties": false}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-sparse-arrays | Forbids array literals to contain missing elements. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-string-literal | Forbids unnecessary string literal property access.
Allows `obj["prop-erty"]` (can't be a regular property access).
Disallows `obj["property"]` (should be `obj.property`). | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-string-throw | Flags throwing plain strings or concatenations of strings because only Errors produce proper stack traces. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-submodule-imports | Disallows importing any submodule. | {"definitions": {"options": {"type": "array", "items": {"type": "string"}, "minItems": 1, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-switch-case-fall-through | Disallows falling through case statements. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-this-assignment | Disallows unnecessary references to `this`. | {"definitions": {"options": {"type": "array", "items": {"type": "object", "properties": {"allow-destructuring": {"type": "boolean"}, "allowed-names": {"type": "array", "items": {"type": "string"}, "minItems": 1, "uniqueItems": true}}, "additionalProperties": false}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-trailing-whitespace | Disallows trailing whitespace at the end of a line. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["ignore-comments", "ignore-jsdoc", "ignore-template-strings", "ignore-blank-lines"]}, "minItems": 1, "maxItems": 4, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 5, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-unnecessary-callback-wrapper | Replaces `x => f(x)` with just `f`.
To catch more cases, enable `only-arrow-functions` and `arrow-return-shorthand` too. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-unnecessary-class | Disallows classes that are not strictly necessary. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["allow-constructor-only", "allow-empty-class", "allow-static-only"]}, "minLength": 0, "maxLength": 3}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 4, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-unnecessary-initializer | Forbids a 'var'/'let' statement or destructuring initializer to be initialized to 'undefined'. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-unsafe-finally | Disallows control flow statements, such as `return`, `continue` `break` and `throws` in finally blocks. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-unused-expression | Disallows unused expression statements. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["allow-fast-null-checks", "allow-new", "allow-tagged-template"]}, "minItems": 1, "maxItems": 3, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 4, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | no-use-before-declare | Disallows usage of variables before their declaration. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-var-keyword | Disallows usage of the `var` keyword. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | no-void-expression | Requires expressions of type `void` to appear in statement position. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["ignore-arrow-function-shorthand"]}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | number-literal-format | Checks that decimal literals should begin with '0.' instead of just '.', and should not end with a trailing '0'. | {"allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": false, "properties": {"severity": {}}, "additionalProperties": false}]} |
tslint.json | object-literal-key-quotes | Enforces consistent object literal property quote style. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["always", "as-needed", "consistent", "consistent-as-needed"]}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | object-literal-shorthand | Enforces use of ES6 object literal shorthand when possible. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["always", "never"]}, "minItems": 1, "maxItems": 2, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | object-literal-sort-keys | Checks ordering of keys in object literals. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["ignore-case", "locale-compare", "match-declaration-order", "shorthand-first"]}, "minItems": 1, "maxItems": 4, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 5, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | one-line | Requires the specified tokens to be on the same line as the expression preceding them. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace"]}, "minItems": 1, "maxItems": 5, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 6, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | one-variable-per-declaration | Disallows multiple variable definitions in the same declaration statement. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["ignore-for-loop"]}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | only-arrow-functions | Disallows traditional (non-arrow) function expressions. | {"definitions": {"options": {"type": "array", "items": {"type": "string", "enum": ["allow-declarations", "allow-named-functions"]}, "minItems": 1, "maxItems": 2, "uniqueItems": true}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 3, "uniqueItems": true, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
tslint.json | ordered-imports | Requires that import statements be alphabetized. | {"definitions": {"options": {"type": "array", "items": {"type": "object", "properties": {"grouped-imports": {"type": "boolean"}, "groups": {"type": "array", "items": {"oneOf": [{"type": "string"}, {"type": "object", "properties": {"name": {"type": "string"}, "match": {"type": "string"}, "order": {"type": "number"}}, "required": ["match", "order"]}]}}, "import-sources-order": {"type": "string", "enum": ["case-insensitive", "case-insensitive-legacy", "lowercase-first", "lowercase-last", "any"]}, "named-imports-order": {"type": "string", "enum": ["case-insensitive", "case-insensitive-legacy", "lowercase-first", "lowercase-last", "any"]}, "module-source-path": {"type": "string", "enum": ["full", "basename"]}}, "additionalProperties": false}, "minItems": 1, "maxItems": 1}}, "allOf": [{}, {"items": [{"type": "boolean"}], "additionalItems": {}, "maxItems": 2, "properties": {"options": {"oneOf": [{}, {}]}, "severity": {}}, "additionalProperties": false}]} |
tslint.json | options | An option value or an array of multiple option values. | {"oneOf": [{}, {}]} |
Subsets and Splits