-
-
Save yyoncho/9ab1a371df97bd3bebc05c48fc391444 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Here it is the log: | |
| ``` | |
| [Trace - 06:18:06 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 49 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 1 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 1 | |
| } | |
| }, | |
| "rangeLength": 0, | |
| "text": "\"" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:06 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:06 PM] Sending request 'textDocument/completion - (42)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| }, | |
| "position": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "context": { | |
| "triggerCharacter": "\"", | |
| "triggerKind": 2 | |
| } | |
| } | |
| [Trace - 06:18:06 PM] Sending request 'textDocument/documentColor - (43)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| } | |
| [Trace - 06:18:06 PM] Received response 'textDocument/completion - (42)' in 78ms. | |
| Result: { | |
| "isIncomplete": null, | |
| "items": [ | |
| { | |
| "textEdit": { | |
| "newText": "\"comma-dangle\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow trailing commas", | |
| "filterText": "\"comma-dangle\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"comma-dangle\"", | |
| "label": "comma-dangle", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"for-direction\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce “for” loop update clause moving the counter in the right direction", | |
| "filterText": "\"for-direction\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"for-direction\"", | |
| "label": "for-direction", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"getter-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce return statements in getters", | |
| "filterText": "\"getter-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"getter-return\"", | |
| "label": "getter-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-await-in-loop\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow await inside of loops", | |
| "filterText": "\"no-await-in-loop\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-await-in-loop\"", | |
| "label": "no-await-in-loop", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-compare-neg-zero\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow comparing against -0", | |
| "filterText": "\"no-compare-neg-zero\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-compare-neg-zero\"", | |
| "label": "no-compare-neg-zero", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-cond-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignment operators in conditional expressions", | |
| "filterText": "\"no-cond-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-cond-assign\"", | |
| "label": "no-cond-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-console\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of console", | |
| "filterText": "\"no-console\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-console\"", | |
| "label": "no-console", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-constant-condition\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow constant expressions in conditions", | |
| "filterText": "\"no-constant-condition\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-constant-condition\"", | |
| "label": "no-constant-condition", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-control-regex\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow control characters in regular expressions", | |
| "filterText": "\"no-control-regex\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-control-regex\"", | |
| "label": "no-control-regex", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-debugger\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of debugger", | |
| "filterText": "\"no-debugger\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-debugger\"", | |
| "label": "no-debugger", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-dupe-args\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate arguments in function definitions", | |
| "filterText": "\"no-dupe-args\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-dupe-args\"", | |
| "label": "no-dupe-args", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-dupe-keys\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate keys in object literals", | |
| "filterText": "\"no-dupe-keys\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-dupe-keys\"", | |
| "label": "no-dupe-keys", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-duplicate-case\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate case labels", | |
| "filterText": "\"no-duplicate-case\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-duplicate-case\"", | |
| "label": "no-duplicate-case", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty block statements", | |
| "filterText": "\"no-empty\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty\"", | |
| "label": "no-empty", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty-character-class\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty character classes in regular expressions", | |
| "filterText": "\"no-empty-character-class\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty-character-class\"", | |
| "label": "no-empty-character-class", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-ex-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning exceptions in catch clauses", | |
| "filterText": "\"no-ex-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-ex-assign\"", | |
| "label": "no-ex-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-boolean-cast\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary boolean casts", | |
| "filterText": "\"no-extra-boolean-cast\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-boolean-cast\"", | |
| "label": "no-extra-boolean-cast", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary parentheses", | |
| "filterText": "\"no-extra-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-parens\"", | |
| "label": "no-extra-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-semi\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary semicolons", | |
| "filterText": "\"no-extra-semi\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-semi\"", | |
| "label": "no-extra-semi", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-func-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning function declarations", | |
| "filterText": "\"no-func-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-func-assign\"", | |
| "label": "no-func-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-inner-declarations\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow function or var declarations in nested blocks", | |
| "filterText": "\"no-inner-declarations\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-inner-declarations\"", | |
| "label": "no-inner-declarations", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-invalid-regexp\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow invalid regular expression strings in RegExp constructors", | |
| "filterText": "\"no-invalid-regexp\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-invalid-regexp\"", | |
| "label": "no-invalid-regexp", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-irregular-whitespace\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow irregular whitespace outside of strings and comments", | |
| "filterText": "\"no-irregular-whitespace\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-irregular-whitespace\"", | |
| "label": "no-irregular-whitespace", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-negated-in-lhs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow negating the left operand in in expressions (deprecated)", | |
| "filterText": "\"no-negated-in-lhs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-negated-in-lhs\"", | |
| "label": "no-negated-in-lhs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-obj-calls\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow calling global object properties as functions", | |
| "filterText": "\"no-obj-calls\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-obj-calls\"", | |
| "label": "no-obj-calls", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-prototype-builtins\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow calling some Object.prototype methods directly on objects", | |
| "filterText": "\"no-prototype-builtins\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-prototype-builtins\"", | |
| "label": "no-prototype-builtins", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-regex-spaces\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiple spaces in regular expressions", | |
| "filterText": "\"no-regex-spaces\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-regex-spaces\"", | |
| "label": "no-regex-spaces", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-sparse-arrays\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow sparse arrays", | |
| "filterText": "\"no-sparse-arrays\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-sparse-arrays\"", | |
| "label": "no-sparse-arrays", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-template-curly-in-string\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow template literal placeholder syntax in regular strings", | |
| "filterText": "\"no-template-curly-in-string\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-template-curly-in-string\"", | |
| "label": "no-template-curly-in-string", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unexpected-multiline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow confusing multiline expressions", | |
| "filterText": "\"no-unexpected-multiline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unexpected-multiline\"", | |
| "label": "no-unexpected-multiline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unreachable\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unreachable code after return, throw, continue, and break statements", | |
| "filterText": "\"no-unreachable\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unreachable\"", | |
| "label": "no-unreachable", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unsafe-finally\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow control flow statements in finally blocks", | |
| "filterText": "\"no-unsafe-finally\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unsafe-finally\"", | |
| "label": "no-unsafe-finally", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unsafe-negation\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow negating the left operand of relational operators", | |
| "filterText": "\"no-unsafe-negation\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unsafe-negation\"", | |
| "label": "no-unsafe-negation", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"use-isnan\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require calls to isNaN() when checking for NaN", | |
| "filterText": "\"use-isnan\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"use-isnan\"", | |
| "label": "use-isnan", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"valid-jsdoc\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce valid JSDoc comments", | |
| "filterText": "\"valid-jsdoc\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"valid-jsdoc\"", | |
| "label": "valid-jsdoc", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"valid-typeof\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce comparing typeof expressions against valid strings", | |
| "filterText": "\"valid-typeof\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"valid-typeof\"", | |
| "label": "valid-typeof", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"accessor-pairs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce getter and setter pairs in objects", | |
| "filterText": "\"accessor-pairs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"accessor-pairs\"", | |
| "label": "accessor-pairs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-callback-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce return statements in callbacks of array methods", | |
| "filterText": "\"array-callback-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-callback-return\"", | |
| "label": "array-callback-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"block-scoped-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the use of variables within the scope they are defined", | |
| "filterText": "\"block-scoped-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"block-scoped-var\"", | |
| "label": "block-scoped-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"class-methods-use-this\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce that class methods utilize this", | |
| "filterText": "\"class-methods-use-this\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"class-methods-use-this\"", | |
| "label": "class-methods-use-this", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"complexity\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum cyclomatic complexity allowed in a program", | |
| "filterText": "\"complexity\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"complexity\"", | |
| "label": "complexity", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"consistent-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require return statements to either always or never specify values", | |
| "filterText": "\"consistent-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"consistent-return\"", | |
| "label": "consistent-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"curly\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent brace style for all control statements", | |
| "filterText": "\"curly\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"curly\"", | |
| "label": "curly", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"default-case\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require default cases in switch statements", | |
| "filterText": "\"default-case\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"default-case\"", | |
| "label": "default-case", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"dot-location\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent newlines before and after dots", | |
| "filterText": "\"dot-location\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"dot-location\"", | |
| "label": "dot-location", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"dot-notation\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce dot notation whenever possible", | |
| "filterText": "\"dot-notation\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"dot-notation\"", | |
| "label": "dot-notation", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"eqeqeq\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require the use of === and !==", | |
| "filterText": "\"eqeqeq\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"eqeqeq\"", | |
| "label": "eqeqeq", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"guard-for-in\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require for-in loops to include an if statement", | |
| "filterText": "\"guard-for-in\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"guard-for-in\"", | |
| "label": "guard-for-in", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-alert\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of alert, confirm, and prompt", | |
| "filterText": "\"no-alert\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-alert\"", | |
| "label": "no-alert", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-caller\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of arguments.caller or arguments.callee", | |
| "filterText": "\"no-caller\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-caller\"", | |
| "label": "no-caller", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-case-declarations\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow lexical declarations in case clauses", | |
| "filterText": "\"no-case-declarations\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-case-declarations\"", | |
| "label": "no-case-declarations", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-div-regex\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow division operators explicitly at the beginning of regular expressions", | |
| "filterText": "\"no-div-regex\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-div-regex\"", | |
| "label": "no-div-regex", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-else-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow else blocks after return statements in if statements", | |
| "filterText": "\"no-else-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-else-return\"", | |
| "label": "no-else-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty-function\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty functions", | |
| "filterText": "\"no-empty-function\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty-function\"", | |
| "label": "no-empty-function", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty-pattern\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty destructuring patterns", | |
| "filterText": "\"no-empty-pattern\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty-pattern\"", | |
| "label": "no-empty-pattern", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-eq-null\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow null comparisons without type-checking operators", | |
| "filterText": "\"no-eq-null\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-eq-null\"", | |
| "label": "no-eq-null", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-eval\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of eval()", | |
| "filterText": "\"no-eval\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-eval\"", | |
| "label": "no-eval", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extend-native\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow extending native types", | |
| "filterText": "\"no-extend-native\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extend-native\"", | |
| "label": "no-extend-native", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-bind\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary calls to .bind()", | |
| "filterText": "\"no-extra-bind\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-bind\"", | |
| "label": "no-extra-bind", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-label\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary labels", | |
| "filterText": "\"no-extra-label\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-label\"", | |
| "label": "no-extra-label", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-fallthrough\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow fallthrough of case statements", | |
| "filterText": "\"no-fallthrough\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-fallthrough\"", | |
| "label": "no-fallthrough", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-floating-decimal\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow leading or trailing decimal points in numeric literals", | |
| "filterText": "\"no-floating-decimal\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-floating-decimal\"", | |
| "label": "no-floating-decimal", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-global-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignments to native objects or read-only global variables", | |
| "filterText": "\"no-global-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-global-assign\"", | |
| "label": "no-global-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-implicit-coercion\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow shorthand type conversions", | |
| "filterText": "\"no-implicit-coercion\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-implicit-coercion\"", | |
| "label": "no-implicit-coercion", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-implicit-globals\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow var and named function declarations in the global scope", | |
| "filterText": "\"no-implicit-globals\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-implicit-globals\"", | |
| "label": "no-implicit-globals", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-implied-eval\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of eval()-like methods", | |
| "filterText": "\"no-implied-eval\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-implied-eval\"", | |
| "label": "no-implied-eval", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-invalid-this\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow this keywords outside of classes or class-like objects", | |
| "filterText": "\"no-invalid-this\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-invalid-this\"", | |
| "label": "no-invalid-this", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-iterator\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of the __iterator__ property", | |
| "filterText": "\"no-iterator\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-iterator\"", | |
| "label": "no-iterator", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-labels\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow labeled statements", | |
| "filterText": "\"no-labels\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-labels\"", | |
| "label": "no-labels", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-lone-blocks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary nested blocks", | |
| "filterText": "\"no-lone-blocks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-lone-blocks\"", | |
| "label": "no-lone-blocks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-loop-func\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow function declarations and expressions inside loop statements", | |
| "filterText": "\"no-loop-func\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-loop-func\"", | |
| "label": "no-loop-func", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-magic-numbers\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow magic numbers", | |
| "filterText": "\"no-magic-numbers\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-magic-numbers\"", | |
| "label": "no-magic-numbers", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multi-spaces\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiple spaces", | |
| "filterText": "\"no-multi-spaces\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multi-spaces\"", | |
| "label": "no-multi-spaces", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multi-str\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiline strings", | |
| "filterText": "\"no-multi-str\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multi-str\"", | |
| "label": "no-multi-str", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-native-reassign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "", | |
| "filterText": "\"no-native-reassign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-native-reassign\"", | |
| "label": "no-native-reassign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators outside of assignments or comparisons", | |
| "filterText": "\"no-new\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new\"", | |
| "label": "no-new", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-func\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with the Function object", | |
| "filterText": "\"no-new-func\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-func\"", | |
| "label": "no-new-func", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-wrappers\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with the String, Number, and Boolean objects", | |
| "filterText": "\"no-new-wrappers\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-wrappers\"", | |
| "label": "no-new-wrappers", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-octal\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow octal literals", | |
| "filterText": "\"no-octal\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-octal\"", | |
| "label": "no-octal", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-octal-escape\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow octal escape sequences in string literals", | |
| "filterText": "\"no-octal-escape\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-octal-escape\"", | |
| "label": "no-octal-escape", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-param-reassign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning function parameters", | |
| "filterText": "\"no-param-reassign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-param-reassign\"", | |
| "label": "no-param-reassign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-proto\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of the __proto__ property", | |
| "filterText": "\"no-proto\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-proto\"", | |
| "label": "no-proto", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-redeclare\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow var redeclaration", | |
| "filterText": "\"no-redeclare\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-redeclare\"", | |
| "label": "no-redeclare", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-properties\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow certain properties on certain objects", | |
| "filterText": "\"no-restricted-properties\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-properties\"", | |
| "label": "no-restricted-properties", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-return-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignment operators in return statements", | |
| "filterText": "\"no-return-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-return-assign\"", | |
| "label": "no-return-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-return-await\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary return await", | |
| "filterText": "\"no-return-await\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-return-await\"", | |
| "label": "no-return-await", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-script-url\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow javascript: urls", | |
| "filterText": "\"no-script-url\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-script-url\"", | |
| "label": "no-script-url", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-self-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignments where both sides are exactly the same", | |
| "filterText": "\"no-self-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-self-assign\"", | |
| "label": "no-self-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-self-compare\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow comparisons where both sides are exactly the same", | |
| "filterText": "\"no-self-compare\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-self-compare\"", | |
| "label": "no-self-compare", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-sequences\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow comma operators", | |
| "filterText": "\"no-sequences\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-sequences\"", | |
| "label": "no-sequences", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-throw-literal\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow throwing literals as exceptions", | |
| "filterText": "\"no-throw-literal\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-throw-literal\"", | |
| "label": "no-throw-literal", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unmodified-loop-condition\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unmodified loop conditions", | |
| "filterText": "\"no-unmodified-loop-condition\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unmodified-loop-condition\"", | |
| "label": "no-unmodified-loop-condition", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unused-expressions\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unused expressions", | |
| "filterText": "\"no-unused-expressions\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unused-expressions\"", | |
| "label": "no-unused-expressions", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unused-labels\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unused labels", | |
| "filterText": "\"no-unused-labels\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unused-labels\"", | |
| "label": "no-unused-labels", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-call\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary calls to .call() and .apply()", | |
| "filterText": "\"no-useless-call\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-call\"", | |
| "label": "no-useless-call", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-concat\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary concatenation of literals or template literals", | |
| "filterText": "\"no-useless-concat\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-concat\"", | |
| "label": "no-useless-concat", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-escape\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary escape characters", | |
| "filterText": "\"no-useless-escape\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-escape\"", | |
| "label": "no-useless-escape", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow redundant return statements", | |
| "filterText": "\"no-useless-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-return\"", | |
| "label": "no-useless-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-void\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow void operators", | |
| "filterText": "\"no-void\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-void\"", | |
| "label": "no-void", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-warning-comments\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified warning terms in comments", | |
| "filterText": "\"no-warning-comments\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-warning-comments\"", | |
| "label": "no-warning-comments", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-with\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow with statements", | |
| "filterText": "\"no-with\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-with\"", | |
| "label": "no-with", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-promise-reject-errors\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require using Error objects as Promise rejection reasons", | |
| "filterText": "\"prefer-promise-reject-errors\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-promise-reject-errors\"", | |
| "label": "prefer-promise-reject-errors", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"radix\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of the radix argument when using parseInt()", | |
| "filterText": "\"radix\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"radix\"", | |
| "label": "radix", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"require-await\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow async functions which have no await expression", | |
| "filterText": "\"require-await\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"require-await\"", | |
| "label": "require-await", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"vars-on-top\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require var declarations be placed at the top of their containing scope", | |
| "filterText": "\"vars-on-top\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"vars-on-top\"", | |
| "label": "vars-on-top", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"wrap-iife\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parentheses around immediate function invocations", | |
| "filterText": "\"wrap-iife\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"wrap-iife\"", | |
| "label": "wrap-iife", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"yoda\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or Disallow “Yoda” conditions", | |
| "filterText": "\"yoda\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"yoda\"", | |
| "label": "yoda", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"strict\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "require or disallow strict mode directives", | |
| "filterText": "\"strict\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"strict\"", | |
| "label": "strict", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"init-declarations\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow initialization in var declarations", | |
| "filterText": "\"init-declarations\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"init-declarations\"", | |
| "label": "init-declarations", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-catch-shadow\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow catch clause parameters from shadowing variables in the outer scope", | |
| "filterText": "\"no-catch-shadow\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-catch-shadow\"", | |
| "label": "no-catch-shadow", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-delete-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow deleting variables", | |
| "filterText": "\"no-delete-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-delete-var\"", | |
| "label": "no-delete-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-label-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow labels that share a name with a variable", | |
| "filterText": "\"no-label-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-label-var\"", | |
| "label": "no-label-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-globals\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified global variables", | |
| "filterText": "\"no-restricted-globals\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-globals\"", | |
| "label": "no-restricted-globals", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-shadow\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow var declarations from shadowing variables in the outer scope", | |
| "filterText": "\"no-shadow\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-shadow\"", | |
| "label": "no-shadow", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-shadow-restricted-names\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow identifiers from shadowing restricted names", | |
| "filterText": "\"no-shadow-restricted-names\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-shadow-restricted-names\"", | |
| "label": "no-shadow-restricted-names", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-undef\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of undeclared variables unless mentioned in /*global */ comments", | |
| "filterText": "\"no-undef\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-undef\"", | |
| "label": "no-undef", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-undefined\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of undefined as an identifier", | |
| "filterText": "\"no-undefined\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-undefined\"", | |
| "label": "no-undefined", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-undef-init\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow initializing variables to undefined", | |
| "filterText": "\"no-undef-init\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-undef-init\"", | |
| "label": "no-undef-init", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unused-vars\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unused variables", | |
| "filterText": "\"no-unused-vars\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unused-vars\"", | |
| "label": "no-unused-vars", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-use-before-define\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of variables before they are defined", | |
| "filterText": "\"no-use-before-define\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-use-before-define\"", | |
| "label": "no-use-before-define", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"callback-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require return statements after callbacks", | |
| "filterText": "\"callback-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"callback-return\"", | |
| "label": "callback-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"global-require\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require require() calls to be placed at top-level module scope", | |
| "filterText": "\"global-require\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"global-require\"", | |
| "label": "global-require", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"handle-callback-err\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require error handling in callbacks", | |
| "filterText": "\"handle-callback-err\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"handle-callback-err\"", | |
| "label": "handle-callback-err", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-buffer-constructor\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow use of the Buffer() constructor", | |
| "filterText": "\"no-buffer-constructor\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-buffer-constructor\"", | |
| "label": "no-buffer-constructor", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-mixed-requires\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow require calls to be mixed with regular var declarations", | |
| "filterText": "\"no-mixed-requires\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-mixed-requires\"", | |
| "label": "no-mixed-requires", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-require\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with calls to require", | |
| "filterText": "\"no-new-require\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-require\"", | |
| "label": "no-new-require", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-path-concat\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow string concatenation with __dirname and __filename", | |
| "filterText": "\"no-path-concat\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-path-concat\"", | |
| "label": "no-path-concat", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-process-env\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of process.env", | |
| "filterText": "\"no-process-env\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-process-env\"", | |
| "label": "no-process-env", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-process-exit\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of process.exit()", | |
| "filterText": "\"no-process-exit\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-process-exit\"", | |
| "label": "no-process-exit", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-modules\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified modules when loaded by require", | |
| "filterText": "\"no-restricted-modules\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-modules\"", | |
| "label": "no-restricted-modules", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-sync\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow synchronous methods", | |
| "filterText": "\"no-sync\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-sync\"", | |
| "label": "no-sync", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-bracket-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce line breaks after opening and before closing array brackets", | |
| "filterText": "\"array-bracket-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-bracket-newline\"", | |
| "label": "array-bracket-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-bracket-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside array brackets", | |
| "filterText": "\"array-bracket-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-bracket-spacing\"", | |
| "label": "array-bracket-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-element-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce line breaks after each array element", | |
| "filterText": "\"array-element-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-element-newline\"", | |
| "label": "array-element-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"block-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside single-line blocks", | |
| "filterText": "\"block-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"block-spacing\"", | |
| "label": "block-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"brace-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent brace style for blocks", | |
| "filterText": "\"brace-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"brace-style\"", | |
| "label": "brace-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"camelcase\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce camelcase naming convention", | |
| "filterText": "\"camelcase\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"camelcase\"", | |
| "label": "camelcase", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"capitalized-comments\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce or disallow capitalization of the first letter of a comment", | |
| "filterText": "\"capitalized-comments\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"capitalized-comments\"", | |
| "label": "capitalized-comments", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"comma-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after commas", | |
| "filterText": "\"comma-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"comma-spacing\"", | |
| "label": "comma-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"comma-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent comma style", | |
| "filterText": "\"comma-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"comma-style\"", | |
| "label": "comma-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"computed-property-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside computed property brackets", | |
| "filterText": "\"computed-property-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"computed-property-spacing\"", | |
| "label": "computed-property-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"consistent-this\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent naming when capturing the current execution context", | |
| "filterText": "\"consistent-this\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"consistent-this\"", | |
| "label": "consistent-this", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"eol-last\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce at least one newline at the end of files", | |
| "filterText": "\"eol-last\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"eol-last\"", | |
| "label": "eol-last", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-call-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing between function identifiers and their invocations", | |
| "filterText": "\"func-call-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-call-spacing\"", | |
| "label": "func-call-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-name-matching\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require function names to match the name of the variable or property to which they are assigned", | |
| "filterText": "\"func-name-matching\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-name-matching\"", | |
| "label": "func-name-matching", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-names\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow named function expressions", | |
| "filterText": "\"func-names\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-names\"", | |
| "label": "func-names", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of either function declarations or expressions", | |
| "filterText": "\"func-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-style\"", | |
| "label": "func-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"function-call-argument-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce line breaks between arguments of a function call", | |
| "filterText": "\"function-call-argument-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"function-call-argument-newline\"", | |
| "label": "function-call-argument-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"function-paren-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent line breaks inside function parentheses", | |
| "filterText": "\"function-paren-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"function-paren-newline\"", | |
| "label": "function-paren-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"id-blacklist\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified identifiers", | |
| "filterText": "\"id-blacklist\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"id-blacklist\"", | |
| "label": "id-blacklist", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"id-length\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce minimum and maximum identifier lengths", | |
| "filterText": "\"id-length\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"id-length\"", | |
| "label": "id-length", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"id-match\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require identifiers to match a specified regular expression", | |
| "filterText": "\"id-match\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"id-match\"", | |
| "label": "id-match", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"implicit-arrow-linebreak\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the location of arrow function bodies", | |
| "filterText": "\"implicit-arrow-linebreak\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"implicit-arrow-linebreak\"", | |
| "label": "implicit-arrow-linebreak", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"indent\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent indentation", | |
| "filterText": "\"indent\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"indent\"", | |
| "label": "indent", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"indent-legacy\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent indentation (legacy, deprecated)", | |
| "filterText": "\"indent-legacy\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"indent-legacy\"", | |
| "label": "indent-legacy", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"jsx-quotes\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of either double or single quotes in JSX attributes", | |
| "filterText": "\"jsx-quotes\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"jsx-quotes\"", | |
| "label": "jsx-quotes", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"key-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing between keys and values in object literal properties", | |
| "filterText": "\"key-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"key-spacing\"", | |
| "label": "key-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"keyword-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after keywords", | |
| "filterText": "\"keyword-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"keyword-spacing\"", | |
| "label": "keyword-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"line-comment-position\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce position of line comments", | |
| "filterText": "\"line-comment-position\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"line-comment-position\"", | |
| "label": "line-comment-position", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"lines-between-class-members\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow an empty line between class members", | |
| "filterText": "\"lines-between-class-members\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"lines-between-class-members\"", | |
| "label": "lines-between-class-members", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"linebreak-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent linebreak style", | |
| "filterText": "\"linebreak-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"linebreak-style\"", | |
| "label": "linebreak-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"lines-around-comment\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require empty lines around comments", | |
| "filterText": "\"lines-around-comment\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"lines-around-comment\"", | |
| "label": "lines-around-comment", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"lines-around-directive\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow newlines around directives", | |
| "filterText": "\"lines-around-directive\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"lines-around-directive\"", | |
| "label": "lines-around-directive", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-depth\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum depth that blocks can be nested", | |
| "filterText": "\"max-depth\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-depth\"", | |
| "label": "max-depth", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-len\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum line length", | |
| "filterText": "\"max-len\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-len\"", | |
| "label": "max-len", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-lines\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of lines per file", | |
| "filterText": "\"max-lines\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-lines\"", | |
| "label": "max-lines", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-nested-callbacks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum depth that callbacks can be nested", | |
| "filterText": "\"max-nested-callbacks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-nested-callbacks\"", | |
| "label": "max-nested-callbacks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-params\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of parameters in function definitions", | |
| "filterText": "\"max-params\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-params\"", | |
| "label": "max-params", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-statements\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of statements allowed in function blocks", | |
| "filterText": "\"max-statements\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-statements\"", | |
| "label": "max-statements", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-statements-per-line\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of statements allowed per line", | |
| "filterText": "\"max-statements-per-line\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-statements-per-line\"", | |
| "label": "max-statements-per-line", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"multiline-comment-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a particular style for multiline comments", | |
| "filterText": "\"multiline-comment-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"multiline-comment-style\"", | |
| "label": "multiline-comment-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"multiline-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce newlines between operands of ternary expressions", | |
| "filterText": "\"multiline-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"multiline-ternary\"", | |
| "label": "multiline-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"new-cap\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require constructor function names to begin with a capital letter", | |
| "filterText": "\"new-cap\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"new-cap\"", | |
| "label": "new-cap", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"newline-after-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow an empty line after var declarations", | |
| "filterText": "\"newline-after-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"newline-after-var\"", | |
| "label": "newline-after-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"newline-before-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require an empty line before return statements", | |
| "filterText": "\"newline-before-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"newline-before-return\"", | |
| "label": "newline-before-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"newline-per-chained-call\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require a newline after each call in a method chain", | |
| "filterText": "\"newline-per-chained-call\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"newline-per-chained-call\"", | |
| "label": "newline-per-chained-call", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"new-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parentheses when invoking a constructor with no arguments", | |
| "filterText": "\"new-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"new-parens\"", | |
| "label": "new-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-array-constructor\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow Array constructors", | |
| "filterText": "\"no-array-constructor\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-array-constructor\"", | |
| "label": "no-array-constructor", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-bitwise\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow bitwise operators", | |
| "filterText": "\"no-bitwise\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-bitwise\"", | |
| "label": "no-bitwise", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-continue\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow continue statements", | |
| "filterText": "\"no-continue\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-continue\"", | |
| "label": "no-continue", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-inline-comments\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow inline comments after code", | |
| "filterText": "\"no-inline-comments\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-inline-comments\"", | |
| "label": "no-inline-comments", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-lonely-if\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow if statements as the only statement in else blocks", | |
| "filterText": "\"no-lonely-if\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-lonely-if\"", | |
| "label": "no-lonely-if", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-mixed-operators\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow mixed binary operators", | |
| "filterText": "\"no-mixed-operators\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-mixed-operators\"", | |
| "label": "no-mixed-operators", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-mixed-spaces-and-tabs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow mixed spaces and tabs for indentation", | |
| "filterText": "\"no-mixed-spaces-and-tabs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-mixed-spaces-and-tabs\"", | |
| "label": "no-mixed-spaces-and-tabs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multi-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow use of chained assignment expressions", | |
| "filterText": "\"no-multi-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multi-assign\"", | |
| "label": "no-multi-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multiple-empty-lines\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiple empty lines", | |
| "filterText": "\"no-multiple-empty-lines\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multiple-empty-lines\"", | |
| "label": "no-multiple-empty-lines", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-negated-condition\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow negated conditions", | |
| "filterText": "\"no-negated-condition\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-negated-condition\"", | |
| "label": "no-negated-condition", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-nested-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow nested ternary expressions", | |
| "filterText": "\"no-nested-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-nested-ternary\"", | |
| "label": "no-nested-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-object\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow Object constructors", | |
| "filterText": "\"no-new-object\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-object\"", | |
| "label": "no-new-object", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-plusplus\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the unary operators ++ and --", | |
| "filterText": "\"no-plusplus\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-plusplus\"", | |
| "label": "no-plusplus", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-syntax\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified syntax", | |
| "filterText": "\"no-restricted-syntax\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-syntax\"", | |
| "label": "no-restricted-syntax", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-spaced-func\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "", | |
| "filterText": "\"no-spaced-func\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-spaced-func\"", | |
| "label": "no-spaced-func", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-tabs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow tabs in file", | |
| "filterText": "\"no-tabs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-tabs\"", | |
| "label": "no-tabs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow ternary operators", | |
| "filterText": "\"no-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-ternary\"", | |
| "label": "no-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-trailing-spaces\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow trailing whitespace at the end of lines", | |
| "filterText": "\"no-trailing-spaces\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-trailing-spaces\"", | |
| "label": "no-trailing-spaces", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-underscore-dangle\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow dangling underscores in identifiers", | |
| "filterText": "\"no-underscore-dangle\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-underscore-dangle\"", | |
| "label": "no-underscore-dangle", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unneeded-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow ternary operators when simpler alternatives exist", | |
| "filterText": "\"no-unneeded-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unneeded-ternary\"", | |
| "label": "no-unneeded-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-whitespace-before-property\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow whitespace before properties", | |
| "filterText": "\"no-whitespace-before-property\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-whitespace-before-property\"", | |
| "label": "no-whitespace-before-property", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"nonblock-statement-body-position\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the location of single-line statements", | |
| "filterText": "\"nonblock-statement-body-position\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"nonblock-statement-body-position\"", | |
| "label": "nonblock-statement-body-position", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-curly-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent line breaks inside braces", | |
| "filterText": "\"object-curly-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-curly-newline\"", | |
| "label": "object-curly-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-curly-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside braces", | |
| "filterText": "\"object-curly-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-curly-spacing\"", | |
| "label": "object-curly-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-property-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce placing object properties on separate lines", | |
| "filterText": "\"object-property-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-property-newline\"", | |
| "label": "object-property-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-shorthand\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow method and property shorthand syntax for object literals", | |
| "filterText": "\"object-shorthand\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-shorthand\"", | |
| "label": "object-shorthand", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"one-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce variables to be declared either together or separately in functions", | |
| "filterText": "\"one-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"one-var\"", | |
| "label": "one-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"one-var-declaration-per-line\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow newlines around var declarations", | |
| "filterText": "\"one-var-declaration-per-line\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"one-var-declaration-per-line\"", | |
| "label": "one-var-declaration-per-line", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"operator-assignment\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow assignment operator shorthand where possible", | |
| "filterText": "\"operator-assignment\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"operator-assignment\"", | |
| "label": "operator-assignment", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"operator-linebreak\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent linebreak style for operators", | |
| "filterText": "\"operator-linebreak\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"operator-linebreak\"", | |
| "label": "operator-linebreak", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"padded-blocks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow padding within blocks", | |
| "filterText": "\"padded-blocks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"padded-blocks\"", | |
| "label": "padded-blocks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"padding-line-between-statements\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow padding lines between statements", | |
| "filterText": "\"padding-line-between-statements\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"padding-line-between-statements\"", | |
| "label": "padding-line-between-statements", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"quote-props\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require quotes around object literal property names", | |
| "filterText": "\"quote-props\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"quote-props\"", | |
| "label": "quote-props", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"quotes\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of either backticks, double, or single quotes", | |
| "filterText": "\"quotes\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"quotes\"", | |
| "label": "quotes", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"require-jsdoc\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require JSDoc comments", | |
| "filterText": "\"require-jsdoc\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"require-jsdoc\"", | |
| "label": "require-jsdoc", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"semi\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow semicolons instead of ASI", | |
| "filterText": "\"semi\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"semi\"", | |
| "label": "semi", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"semi-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after semicolons", | |
| "filterText": "\"semi-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"semi-spacing\"", | |
| "label": "semi-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"semi-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce location of semicolons", | |
| "filterText": "\"semi-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"semi-style\"", | |
| "label": "semi-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"sort-keys\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Requires object keys to be sorted", | |
| "filterText": "\"sort-keys\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"sort-keys\"", | |
| "label": "sort-keys", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"sort-vars\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require variables within the same declaration block to be sorted", | |
| "filterText": "\"sort-vars\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"sort-vars\"", | |
| "label": "sort-vars", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-before-blocks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before blocks", | |
| "filterText": "\"space-before-blocks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-before-blocks\"", | |
| "label": "space-before-blocks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-before-function-paren\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before function definition opening parenthesis", | |
| "filterText": "\"space-before-function-paren\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-before-function-paren\"", | |
| "label": "space-before-function-paren", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"spaced-comment\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing after the // or /* in a comment", | |
| "filterText": "\"spaced-comment\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"spaced-comment\"", | |
| "label": "spaced-comment", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-infix-ops\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require spacing around operators", | |
| "filterText": "\"space-infix-ops\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-infix-ops\"", | |
| "label": "space-infix-ops", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-in-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside parentheses", | |
| "filterText": "\"space-in-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-in-parens\"", | |
| "label": "space-in-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-unary-ops\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before or after unary operators", | |
| "filterText": "\"space-unary-ops\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-unary-ops\"", | |
| "label": "space-unary-ops", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"switch-colon-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce spacing around colons of switch statements", | |
| "filterText": "\"switch-colon-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"switch-colon-spacing\"", | |
| "label": "switch-colon-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"template-tag-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing between template tags and their literals", | |
| "filterText": "\"template-tag-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"template-tag-spacing\"", | |
| "label": "template-tag-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"unicode-bom\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow Unicode byte order mark (BOM)", | |
| "filterText": "\"unicode-bom\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"unicode-bom\"", | |
| "label": "unicode-bom", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"wrap-regex\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parenthesis around regex literals", | |
| "filterText": "\"wrap-regex\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"wrap-regex\"", | |
| "label": "wrap-regex", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"arrow-body-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require braces around arrow function bodies", | |
| "filterText": "\"arrow-body-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"arrow-body-style\"", | |
| "label": "arrow-body-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"arrow-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parentheses around arrow function arguments", | |
| "filterText": "\"arrow-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"arrow-parens\"", | |
| "label": "arrow-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"arrow-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after the arrow in arrow functions", | |
| "filterText": "\"arrow-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"arrow-spacing\"", | |
| "label": "arrow-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"constructor-super\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require super() calls in constructors", | |
| "filterText": "\"constructor-super\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"constructor-super\"", | |
| "label": "constructor-super", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"generator-star-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing around * operators in generator functions", | |
| "filterText": "\"generator-star-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"generator-star-spacing\"", | |
| "label": "generator-star-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-class-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning class members", | |
| "filterText": "\"no-class-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-class-assign\"", | |
| "label": "no-class-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-confusing-arrow\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow arrow functions where they could be confused with comparisons", | |
| "filterText": "\"no-confusing-arrow\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-confusing-arrow\"", | |
| "label": "no-confusing-arrow", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-const-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning const variables", | |
| "filterText": "\"no-const-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-const-assign\"", | |
| "label": "no-const-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-dupe-class-members\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate class members", | |
| "filterText": "\"no-dupe-class-members\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-dupe-class-members\"", | |
| "label": "no-dupe-class-members", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-duplicate-imports\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate module imports", | |
| "filterText": "\"no-duplicate-imports\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-duplicate-imports\"", | |
| "label": "no-duplicate-imports", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-symbol\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with the Symbol object", | |
| "filterText": "\"no-new-symbol\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-symbol\"", | |
| "label": "no-new-symbol", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-imports\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified modules when loaded by import", | |
| "filterText": "\"no-restricted-imports\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-imports\"", | |
| "label": "no-restricted-imports", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-this-before-super\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow this/super before calling super() in constructors", | |
| "filterText": "\"no-this-before-super\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-this-before-super\"", | |
| "label": "no-this-before-super", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-computed-key\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary computed property keys in object literals", | |
| "filterText": "\"no-useless-computed-key\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-computed-key\"", | |
| "label": "no-useless-computed-key", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-constructor\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary constructors", | |
| "filterText": "\"no-useless-constructor\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-constructor\"", | |
| "label": "no-useless-constructor", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-rename\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow renaming import, export, and destructured assignments to the same name", | |
| "filterText": "\"no-useless-rename\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-rename\"", | |
| "label": "no-useless-rename", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require let or const instead of var", | |
| "filterText": "\"no-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-var\"", | |
| "label": "no-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-arrow-callback\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require arrow functions as callbacks", | |
| "filterText": "\"prefer-arrow-callback\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-arrow-callback\"", | |
| "label": "prefer-arrow-callback", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-const\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require const declarations for variables that are never reassigned after declared", | |
| "filterText": "\"prefer-const\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-const\"", | |
| "label": "prefer-const", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-destructuring\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require destructuring from arrays and/or objects", | |
| "filterText": "\"prefer-destructuring\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-destructuring\"", | |
| "label": "prefer-destructuring", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-numeric-literals\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow parseInt() in favor of binary, octal, and hexadecimal literals", | |
| "filterText": "\"prefer-numeric-literals\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-numeric-literals\"", | |
| "label": "prefer-numeric-literals", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-reflect\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require Reflect methods where applicable", | |
| "filterText": "\"prefer-reflect\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-reflect\"", | |
| "label": "prefer-reflect", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-rest-params\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require rest parameters instead of arguments", | |
| "filterText": "\"prefer-rest-params\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-rest-params\"", | |
| "label": "prefer-rest-params", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-spread\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require spread operators instead of .apply()", | |
| "filterText": "\"prefer-spread\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-spread\"", | |
| "label": "prefer-spread", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-template\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require template literals instead of string concatenation", | |
| "filterText": "\"prefer-template\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-template\"", | |
| "label": "prefer-template", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"require-yield\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require generator functions to contain yield", | |
| "filterText": "\"require-yield\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"require-yield\"", | |
| "label": "require-yield", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"rest-spread-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce spacing between rest and spread operators and their expressions", | |
| "filterText": "\"rest-spread-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"rest-spread-spacing\"", | |
| "label": "rest-spread-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"sort-imports\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce sorted import declarations within modules", | |
| "filterText": "\"sort-imports\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"sort-imports\"", | |
| "label": "sort-imports", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"symbol-description\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require symbol descriptions", | |
| "filterText": "\"symbol-description\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"symbol-description\"", | |
| "label": "symbol-description", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"template-curly-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing around embedded expressions of template strings", | |
| "filterText": "\"template-curly-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"template-curly-spacing\"", | |
| "label": "template-curly-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"yield-star-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing around the * in yield* expressions", | |
| "filterText": "\"yield-star-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"yield-star-spacing\"", | |
| "label": "yield-star-spacing", | |
| "kind": 10 | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:07 PM] Received response 'textDocument/documentColor - (43)' in 350ms. | |
| Result: [] | |
| [Trace - 06:18:07 PM] Sending request 'textDocument/completion - (44)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| }, | |
| "position": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "context": { | |
| "triggerCharacter": "\"", | |
| "triggerKind": 2 | |
| } | |
| } | |
| [Trace - 06:18:07 PM] Received response 'textDocument/completion - (44)' in 12ms. | |
| Result: { | |
| "isIncomplete": null, | |
| "items": [ | |
| { | |
| "textEdit": { | |
| "newText": "\"comma-dangle\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow trailing commas", | |
| "filterText": "\"comma-dangle\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"comma-dangle\"", | |
| "label": "comma-dangle", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"for-direction\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce “for” loop update clause moving the counter in the right direction", | |
| "filterText": "\"for-direction\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"for-direction\"", | |
| "label": "for-direction", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"getter-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce return statements in getters", | |
| "filterText": "\"getter-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"getter-return\"", | |
| "label": "getter-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-await-in-loop\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow await inside of loops", | |
| "filterText": "\"no-await-in-loop\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-await-in-loop\"", | |
| "label": "no-await-in-loop", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-compare-neg-zero\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow comparing against -0", | |
| "filterText": "\"no-compare-neg-zero\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-compare-neg-zero\"", | |
| "label": "no-compare-neg-zero", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-cond-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignment operators in conditional expressions", | |
| "filterText": "\"no-cond-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-cond-assign\"", | |
| "label": "no-cond-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-console\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of console", | |
| "filterText": "\"no-console\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-console\"", | |
| "label": "no-console", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-constant-condition\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow constant expressions in conditions", | |
| "filterText": "\"no-constant-condition\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-constant-condition\"", | |
| "label": "no-constant-condition", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-control-regex\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow control characters in regular expressions", | |
| "filterText": "\"no-control-regex\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-control-regex\"", | |
| "label": "no-control-regex", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-debugger\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of debugger", | |
| "filterText": "\"no-debugger\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-debugger\"", | |
| "label": "no-debugger", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-dupe-args\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate arguments in function definitions", | |
| "filterText": "\"no-dupe-args\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-dupe-args\"", | |
| "label": "no-dupe-args", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-dupe-keys\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate keys in object literals", | |
| "filterText": "\"no-dupe-keys\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-dupe-keys\"", | |
| "label": "no-dupe-keys", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-duplicate-case\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate case labels", | |
| "filterText": "\"no-duplicate-case\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-duplicate-case\"", | |
| "label": "no-duplicate-case", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty block statements", | |
| "filterText": "\"no-empty\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty\"", | |
| "label": "no-empty", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty-character-class\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty character classes in regular expressions", | |
| "filterText": "\"no-empty-character-class\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty-character-class\"", | |
| "label": "no-empty-character-class", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-ex-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning exceptions in catch clauses", | |
| "filterText": "\"no-ex-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-ex-assign\"", | |
| "label": "no-ex-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-boolean-cast\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary boolean casts", | |
| "filterText": "\"no-extra-boolean-cast\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-boolean-cast\"", | |
| "label": "no-extra-boolean-cast", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary parentheses", | |
| "filterText": "\"no-extra-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-parens\"", | |
| "label": "no-extra-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-semi\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary semicolons", | |
| "filterText": "\"no-extra-semi\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-semi\"", | |
| "label": "no-extra-semi", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-func-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning function declarations", | |
| "filterText": "\"no-func-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-func-assign\"", | |
| "label": "no-func-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-inner-declarations\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow function or var declarations in nested blocks", | |
| "filterText": "\"no-inner-declarations\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-inner-declarations\"", | |
| "label": "no-inner-declarations", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-invalid-regexp\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow invalid regular expression strings in RegExp constructors", | |
| "filterText": "\"no-invalid-regexp\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-invalid-regexp\"", | |
| "label": "no-invalid-regexp", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-irregular-whitespace\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow irregular whitespace outside of strings and comments", | |
| "filterText": "\"no-irregular-whitespace\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-irregular-whitespace\"", | |
| "label": "no-irregular-whitespace", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-negated-in-lhs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow negating the left operand in in expressions (deprecated)", | |
| "filterText": "\"no-negated-in-lhs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-negated-in-lhs\"", | |
| "label": "no-negated-in-lhs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-obj-calls\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow calling global object properties as functions", | |
| "filterText": "\"no-obj-calls\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-obj-calls\"", | |
| "label": "no-obj-calls", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-prototype-builtins\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow calling some Object.prototype methods directly on objects", | |
| "filterText": "\"no-prototype-builtins\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-prototype-builtins\"", | |
| "label": "no-prototype-builtins", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-regex-spaces\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiple spaces in regular expressions", | |
| "filterText": "\"no-regex-spaces\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-regex-spaces\"", | |
| "label": "no-regex-spaces", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-sparse-arrays\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow sparse arrays", | |
| "filterText": "\"no-sparse-arrays\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-sparse-arrays\"", | |
| "label": "no-sparse-arrays", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-template-curly-in-string\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow template literal placeholder syntax in regular strings", | |
| "filterText": "\"no-template-curly-in-string\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-template-curly-in-string\"", | |
| "label": "no-template-curly-in-string", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unexpected-multiline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow confusing multiline expressions", | |
| "filterText": "\"no-unexpected-multiline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unexpected-multiline\"", | |
| "label": "no-unexpected-multiline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unreachable\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unreachable code after return, throw, continue, and break statements", | |
| "filterText": "\"no-unreachable\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unreachable\"", | |
| "label": "no-unreachable", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unsafe-finally\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow control flow statements in finally blocks", | |
| "filterText": "\"no-unsafe-finally\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unsafe-finally\"", | |
| "label": "no-unsafe-finally", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unsafe-negation\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow negating the left operand of relational operators", | |
| "filterText": "\"no-unsafe-negation\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unsafe-negation\"", | |
| "label": "no-unsafe-negation", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"use-isnan\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require calls to isNaN() when checking for NaN", | |
| "filterText": "\"use-isnan\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"use-isnan\"", | |
| "label": "use-isnan", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"valid-jsdoc\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce valid JSDoc comments", | |
| "filterText": "\"valid-jsdoc\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"valid-jsdoc\"", | |
| "label": "valid-jsdoc", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"valid-typeof\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce comparing typeof expressions against valid strings", | |
| "filterText": "\"valid-typeof\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"valid-typeof\"", | |
| "label": "valid-typeof", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"accessor-pairs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce getter and setter pairs in objects", | |
| "filterText": "\"accessor-pairs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"accessor-pairs\"", | |
| "label": "accessor-pairs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-callback-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce return statements in callbacks of array methods", | |
| "filterText": "\"array-callback-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-callback-return\"", | |
| "label": "array-callback-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"block-scoped-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the use of variables within the scope they are defined", | |
| "filterText": "\"block-scoped-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"block-scoped-var\"", | |
| "label": "block-scoped-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"class-methods-use-this\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce that class methods utilize this", | |
| "filterText": "\"class-methods-use-this\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"class-methods-use-this\"", | |
| "label": "class-methods-use-this", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"complexity\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum cyclomatic complexity allowed in a program", | |
| "filterText": "\"complexity\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"complexity\"", | |
| "label": "complexity", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"consistent-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require return statements to either always or never specify values", | |
| "filterText": "\"consistent-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"consistent-return\"", | |
| "label": "consistent-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"curly\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent brace style for all control statements", | |
| "filterText": "\"curly\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"curly\"", | |
| "label": "curly", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"default-case\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require default cases in switch statements", | |
| "filterText": "\"default-case\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"default-case\"", | |
| "label": "default-case", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"dot-location\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent newlines before and after dots", | |
| "filterText": "\"dot-location\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"dot-location\"", | |
| "label": "dot-location", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"dot-notation\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce dot notation whenever possible", | |
| "filterText": "\"dot-notation\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"dot-notation\"", | |
| "label": "dot-notation", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"eqeqeq\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require the use of === and !==", | |
| "filterText": "\"eqeqeq\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"eqeqeq\"", | |
| "label": "eqeqeq", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"guard-for-in\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require for-in loops to include an if statement", | |
| "filterText": "\"guard-for-in\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"guard-for-in\"", | |
| "label": "guard-for-in", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-alert\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of alert, confirm, and prompt", | |
| "filterText": "\"no-alert\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-alert\"", | |
| "label": "no-alert", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-caller\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of arguments.caller or arguments.callee", | |
| "filterText": "\"no-caller\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-caller\"", | |
| "label": "no-caller", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-case-declarations\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow lexical declarations in case clauses", | |
| "filterText": "\"no-case-declarations\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-case-declarations\"", | |
| "label": "no-case-declarations", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-div-regex\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow division operators explicitly at the beginning of regular expressions", | |
| "filterText": "\"no-div-regex\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-div-regex\"", | |
| "label": "no-div-regex", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-else-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow else blocks after return statements in if statements", | |
| "filterText": "\"no-else-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-else-return\"", | |
| "label": "no-else-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty-function\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty functions", | |
| "filterText": "\"no-empty-function\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty-function\"", | |
| "label": "no-empty-function", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-empty-pattern\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow empty destructuring patterns", | |
| "filterText": "\"no-empty-pattern\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-empty-pattern\"", | |
| "label": "no-empty-pattern", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-eq-null\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow null comparisons without type-checking operators", | |
| "filterText": "\"no-eq-null\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-eq-null\"", | |
| "label": "no-eq-null", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-eval\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of eval()", | |
| "filterText": "\"no-eval\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-eval\"", | |
| "label": "no-eval", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extend-native\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow extending native types", | |
| "filterText": "\"no-extend-native\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extend-native\"", | |
| "label": "no-extend-native", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-bind\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary calls to .bind()", | |
| "filterText": "\"no-extra-bind\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-bind\"", | |
| "label": "no-extra-bind", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-extra-label\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary labels", | |
| "filterText": "\"no-extra-label\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-extra-label\"", | |
| "label": "no-extra-label", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-fallthrough\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow fallthrough of case statements", | |
| "filterText": "\"no-fallthrough\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-fallthrough\"", | |
| "label": "no-fallthrough", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-floating-decimal\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow leading or trailing decimal points in numeric literals", | |
| "filterText": "\"no-floating-decimal\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-floating-decimal\"", | |
| "label": "no-floating-decimal", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-global-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignments to native objects or read-only global variables", | |
| "filterText": "\"no-global-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-global-assign\"", | |
| "label": "no-global-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-implicit-coercion\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow shorthand type conversions", | |
| "filterText": "\"no-implicit-coercion\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-implicit-coercion\"", | |
| "label": "no-implicit-coercion", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-implicit-globals\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow var and named function declarations in the global scope", | |
| "filterText": "\"no-implicit-globals\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-implicit-globals\"", | |
| "label": "no-implicit-globals", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-implied-eval\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of eval()-like methods", | |
| "filterText": "\"no-implied-eval\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-implied-eval\"", | |
| "label": "no-implied-eval", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-invalid-this\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow this keywords outside of classes or class-like objects", | |
| "filterText": "\"no-invalid-this\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-invalid-this\"", | |
| "label": "no-invalid-this", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-iterator\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of the __iterator__ property", | |
| "filterText": "\"no-iterator\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-iterator\"", | |
| "label": "no-iterator", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-labels\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow labeled statements", | |
| "filterText": "\"no-labels\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-labels\"", | |
| "label": "no-labels", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-lone-blocks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary nested blocks", | |
| "filterText": "\"no-lone-blocks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-lone-blocks\"", | |
| "label": "no-lone-blocks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-loop-func\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow function declarations and expressions inside loop statements", | |
| "filterText": "\"no-loop-func\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-loop-func\"", | |
| "label": "no-loop-func", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-magic-numbers\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow magic numbers", | |
| "filterText": "\"no-magic-numbers\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-magic-numbers\"", | |
| "label": "no-magic-numbers", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multi-spaces\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiple spaces", | |
| "filterText": "\"no-multi-spaces\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multi-spaces\"", | |
| "label": "no-multi-spaces", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multi-str\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiline strings", | |
| "filterText": "\"no-multi-str\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multi-str\"", | |
| "label": "no-multi-str", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-native-reassign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "", | |
| "filterText": "\"no-native-reassign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-native-reassign\"", | |
| "label": "no-native-reassign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators outside of assignments or comparisons", | |
| "filterText": "\"no-new\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new\"", | |
| "label": "no-new", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-func\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with the Function object", | |
| "filterText": "\"no-new-func\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-func\"", | |
| "label": "no-new-func", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-wrappers\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with the String, Number, and Boolean objects", | |
| "filterText": "\"no-new-wrappers\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-wrappers\"", | |
| "label": "no-new-wrappers", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-octal\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow octal literals", | |
| "filterText": "\"no-octal\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-octal\"", | |
| "label": "no-octal", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-octal-escape\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow octal escape sequences in string literals", | |
| "filterText": "\"no-octal-escape\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-octal-escape\"", | |
| "label": "no-octal-escape", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-param-reassign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning function parameters", | |
| "filterText": "\"no-param-reassign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-param-reassign\"", | |
| "label": "no-param-reassign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-proto\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of the __proto__ property", | |
| "filterText": "\"no-proto\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-proto\"", | |
| "label": "no-proto", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-redeclare\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow var redeclaration", | |
| "filterText": "\"no-redeclare\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-redeclare\"", | |
| "label": "no-redeclare", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-properties\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow certain properties on certain objects", | |
| "filterText": "\"no-restricted-properties\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-properties\"", | |
| "label": "no-restricted-properties", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-return-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignment operators in return statements", | |
| "filterText": "\"no-return-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-return-assign\"", | |
| "label": "no-return-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-return-await\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary return await", | |
| "filterText": "\"no-return-await\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-return-await\"", | |
| "label": "no-return-await", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-script-url\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow javascript: urls", | |
| "filterText": "\"no-script-url\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-script-url\"", | |
| "label": "no-script-url", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-self-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow assignments where both sides are exactly the same", | |
| "filterText": "\"no-self-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-self-assign\"", | |
| "label": "no-self-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-self-compare\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow comparisons where both sides are exactly the same", | |
| "filterText": "\"no-self-compare\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-self-compare\"", | |
| "label": "no-self-compare", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-sequences\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow comma operators", | |
| "filterText": "\"no-sequences\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-sequences\"", | |
| "label": "no-sequences", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-throw-literal\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow throwing literals as exceptions", | |
| "filterText": "\"no-throw-literal\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-throw-literal\"", | |
| "label": "no-throw-literal", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unmodified-loop-condition\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unmodified loop conditions", | |
| "filterText": "\"no-unmodified-loop-condition\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unmodified-loop-condition\"", | |
| "label": "no-unmodified-loop-condition", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unused-expressions\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unused expressions", | |
| "filterText": "\"no-unused-expressions\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unused-expressions\"", | |
| "label": "no-unused-expressions", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unused-labels\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unused labels", | |
| "filterText": "\"no-unused-labels\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unused-labels\"", | |
| "label": "no-unused-labels", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-call\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary calls to .call() and .apply()", | |
| "filterText": "\"no-useless-call\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-call\"", | |
| "label": "no-useless-call", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-concat\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary concatenation of literals or template literals", | |
| "filterText": "\"no-useless-concat\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-concat\"", | |
| "label": "no-useless-concat", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-escape\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary escape characters", | |
| "filterText": "\"no-useless-escape\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-escape\"", | |
| "label": "no-useless-escape", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow redundant return statements", | |
| "filterText": "\"no-useless-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-return\"", | |
| "label": "no-useless-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-void\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow void operators", | |
| "filterText": "\"no-void\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-void\"", | |
| "label": "no-void", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-warning-comments\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified warning terms in comments", | |
| "filterText": "\"no-warning-comments\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-warning-comments\"", | |
| "label": "no-warning-comments", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-with\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow with statements", | |
| "filterText": "\"no-with\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-with\"", | |
| "label": "no-with", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-promise-reject-errors\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require using Error objects as Promise rejection reasons", | |
| "filterText": "\"prefer-promise-reject-errors\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-promise-reject-errors\"", | |
| "label": "prefer-promise-reject-errors", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"radix\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of the radix argument when using parseInt()", | |
| "filterText": "\"radix\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"radix\"", | |
| "label": "radix", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"require-await\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow async functions which have no await expression", | |
| "filterText": "\"require-await\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"require-await\"", | |
| "label": "require-await", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"vars-on-top\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require var declarations be placed at the top of their containing scope", | |
| "filterText": "\"vars-on-top\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"vars-on-top\"", | |
| "label": "vars-on-top", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"wrap-iife\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parentheses around immediate function invocations", | |
| "filterText": "\"wrap-iife\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"wrap-iife\"", | |
| "label": "wrap-iife", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"yoda\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or Disallow “Yoda” conditions", | |
| "filterText": "\"yoda\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"yoda\"", | |
| "label": "yoda", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"strict\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "require or disallow strict mode directives", | |
| "filterText": "\"strict\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"strict\"", | |
| "label": "strict", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"init-declarations\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow initialization in var declarations", | |
| "filterText": "\"init-declarations\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"init-declarations\"", | |
| "label": "init-declarations", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-catch-shadow\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow catch clause parameters from shadowing variables in the outer scope", | |
| "filterText": "\"no-catch-shadow\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-catch-shadow\"", | |
| "label": "no-catch-shadow", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-delete-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow deleting variables", | |
| "filterText": "\"no-delete-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-delete-var\"", | |
| "label": "no-delete-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-label-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow labels that share a name with a variable", | |
| "filterText": "\"no-label-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-label-var\"", | |
| "label": "no-label-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-globals\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified global variables", | |
| "filterText": "\"no-restricted-globals\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-globals\"", | |
| "label": "no-restricted-globals", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-shadow\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow var declarations from shadowing variables in the outer scope", | |
| "filterText": "\"no-shadow\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-shadow\"", | |
| "label": "no-shadow", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-shadow-restricted-names\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow identifiers from shadowing restricted names", | |
| "filterText": "\"no-shadow-restricted-names\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-shadow-restricted-names\"", | |
| "label": "no-shadow-restricted-names", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-undef\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of undeclared variables unless mentioned in /*global */ comments", | |
| "filterText": "\"no-undef\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-undef\"", | |
| "label": "no-undef", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-undefined\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of undefined as an identifier", | |
| "filterText": "\"no-undefined\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-undefined\"", | |
| "label": "no-undefined", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-undef-init\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow initializing variables to undefined", | |
| "filterText": "\"no-undef-init\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-undef-init\"", | |
| "label": "no-undef-init", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unused-vars\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unused variables", | |
| "filterText": "\"no-unused-vars\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unused-vars\"", | |
| "label": "no-unused-vars", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-use-before-define\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of variables before they are defined", | |
| "filterText": "\"no-use-before-define\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-use-before-define\"", | |
| "label": "no-use-before-define", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"callback-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require return statements after callbacks", | |
| "filterText": "\"callback-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"callback-return\"", | |
| "label": "callback-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"global-require\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require require() calls to be placed at top-level module scope", | |
| "filterText": "\"global-require\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"global-require\"", | |
| "label": "global-require", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"handle-callback-err\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require error handling in callbacks", | |
| "filterText": "\"handle-callback-err\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"handle-callback-err\"", | |
| "label": "handle-callback-err", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-buffer-constructor\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow use of the Buffer() constructor", | |
| "filterText": "\"no-buffer-constructor\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-buffer-constructor\"", | |
| "label": "no-buffer-constructor", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-mixed-requires\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow require calls to be mixed with regular var declarations", | |
| "filterText": "\"no-mixed-requires\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-mixed-requires\"", | |
| "label": "no-mixed-requires", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-require\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with calls to require", | |
| "filterText": "\"no-new-require\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-require\"", | |
| "label": "no-new-require", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-path-concat\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow string concatenation with __dirname and __filename", | |
| "filterText": "\"no-path-concat\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-path-concat\"", | |
| "label": "no-path-concat", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-process-env\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of process.env", | |
| "filterText": "\"no-process-env\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-process-env\"", | |
| "label": "no-process-env", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-process-exit\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the use of process.exit()", | |
| "filterText": "\"no-process-exit\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-process-exit\"", | |
| "label": "no-process-exit", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-modules\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified modules when loaded by require", | |
| "filterText": "\"no-restricted-modules\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-modules\"", | |
| "label": "no-restricted-modules", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-sync\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow synchronous methods", | |
| "filterText": "\"no-sync\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-sync\"", | |
| "label": "no-sync", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-bracket-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce line breaks after opening and before closing array brackets", | |
| "filterText": "\"array-bracket-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-bracket-newline\"", | |
| "label": "array-bracket-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-bracket-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside array brackets", | |
| "filterText": "\"array-bracket-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-bracket-spacing\"", | |
| "label": "array-bracket-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"array-element-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce line breaks after each array element", | |
| "filterText": "\"array-element-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"array-element-newline\"", | |
| "label": "array-element-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"block-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside single-line blocks", | |
| "filterText": "\"block-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"block-spacing\"", | |
| "label": "block-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"brace-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent brace style for blocks", | |
| "filterText": "\"brace-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"brace-style\"", | |
| "label": "brace-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"camelcase\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce camelcase naming convention", | |
| "filterText": "\"camelcase\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"camelcase\"", | |
| "label": "camelcase", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"capitalized-comments\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce or disallow capitalization of the first letter of a comment", | |
| "filterText": "\"capitalized-comments\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"capitalized-comments\"", | |
| "label": "capitalized-comments", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"comma-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after commas", | |
| "filterText": "\"comma-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"comma-spacing\"", | |
| "label": "comma-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"comma-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent comma style", | |
| "filterText": "\"comma-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"comma-style\"", | |
| "label": "comma-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"computed-property-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside computed property brackets", | |
| "filterText": "\"computed-property-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"computed-property-spacing\"", | |
| "label": "computed-property-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"consistent-this\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent naming when capturing the current execution context", | |
| "filterText": "\"consistent-this\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"consistent-this\"", | |
| "label": "consistent-this", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"eol-last\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce at least one newline at the end of files", | |
| "filterText": "\"eol-last\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"eol-last\"", | |
| "label": "eol-last", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-call-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing between function identifiers and their invocations", | |
| "filterText": "\"func-call-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-call-spacing\"", | |
| "label": "func-call-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-name-matching\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require function names to match the name of the variable or property to which they are assigned", | |
| "filterText": "\"func-name-matching\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-name-matching\"", | |
| "label": "func-name-matching", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-names\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow named function expressions", | |
| "filterText": "\"func-names\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-names\"", | |
| "label": "func-names", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"func-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of either function declarations or expressions", | |
| "filterText": "\"func-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"func-style\"", | |
| "label": "func-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"function-call-argument-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce line breaks between arguments of a function call", | |
| "filterText": "\"function-call-argument-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"function-call-argument-newline\"", | |
| "label": "function-call-argument-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"function-paren-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent line breaks inside function parentheses", | |
| "filterText": "\"function-paren-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"function-paren-newline\"", | |
| "label": "function-paren-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"id-blacklist\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified identifiers", | |
| "filterText": "\"id-blacklist\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"id-blacklist\"", | |
| "label": "id-blacklist", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"id-length\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce minimum and maximum identifier lengths", | |
| "filterText": "\"id-length\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"id-length\"", | |
| "label": "id-length", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"id-match\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require identifiers to match a specified regular expression", | |
| "filterText": "\"id-match\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"id-match\"", | |
| "label": "id-match", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"implicit-arrow-linebreak\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the location of arrow function bodies", | |
| "filterText": "\"implicit-arrow-linebreak\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"implicit-arrow-linebreak\"", | |
| "label": "implicit-arrow-linebreak", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"indent\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent indentation", | |
| "filterText": "\"indent\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"indent\"", | |
| "label": "indent", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"indent-legacy\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent indentation (legacy, deprecated)", | |
| "filterText": "\"indent-legacy\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"indent-legacy\"", | |
| "label": "indent-legacy", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"jsx-quotes\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of either double or single quotes in JSX attributes", | |
| "filterText": "\"jsx-quotes\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"jsx-quotes\"", | |
| "label": "jsx-quotes", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"key-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing between keys and values in object literal properties", | |
| "filterText": "\"key-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"key-spacing\"", | |
| "label": "key-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"keyword-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after keywords", | |
| "filterText": "\"keyword-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"keyword-spacing\"", | |
| "label": "keyword-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"line-comment-position\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce position of line comments", | |
| "filterText": "\"line-comment-position\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"line-comment-position\"", | |
| "label": "line-comment-position", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"lines-between-class-members\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow an empty line between class members", | |
| "filterText": "\"lines-between-class-members\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"lines-between-class-members\"", | |
| "label": "lines-between-class-members", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"linebreak-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent linebreak style", | |
| "filterText": "\"linebreak-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"linebreak-style\"", | |
| "label": "linebreak-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"lines-around-comment\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require empty lines around comments", | |
| "filterText": "\"lines-around-comment\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"lines-around-comment\"", | |
| "label": "lines-around-comment", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"lines-around-directive\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow newlines around directives", | |
| "filterText": "\"lines-around-directive\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"lines-around-directive\"", | |
| "label": "lines-around-directive", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-depth\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum depth that blocks can be nested", | |
| "filterText": "\"max-depth\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-depth\"", | |
| "label": "max-depth", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-len\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum line length", | |
| "filterText": "\"max-len\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-len\"", | |
| "label": "max-len", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-lines\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of lines per file", | |
| "filterText": "\"max-lines\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-lines\"", | |
| "label": "max-lines", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-nested-callbacks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum depth that callbacks can be nested", | |
| "filterText": "\"max-nested-callbacks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-nested-callbacks\"", | |
| "label": "max-nested-callbacks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-params\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of parameters in function definitions", | |
| "filterText": "\"max-params\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-params\"", | |
| "label": "max-params", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-statements\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of statements allowed in function blocks", | |
| "filterText": "\"max-statements\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-statements\"", | |
| "label": "max-statements", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"max-statements-per-line\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a maximum number of statements allowed per line", | |
| "filterText": "\"max-statements-per-line\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"max-statements-per-line\"", | |
| "label": "max-statements-per-line", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"multiline-comment-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce a particular style for multiline comments", | |
| "filterText": "\"multiline-comment-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"multiline-comment-style\"", | |
| "label": "multiline-comment-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"multiline-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce newlines between operands of ternary expressions", | |
| "filterText": "\"multiline-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"multiline-ternary\"", | |
| "label": "multiline-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"new-cap\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require constructor function names to begin with a capital letter", | |
| "filterText": "\"new-cap\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"new-cap\"", | |
| "label": "new-cap", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"newline-after-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow an empty line after var declarations", | |
| "filterText": "\"newline-after-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"newline-after-var\"", | |
| "label": "newline-after-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"newline-before-return\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require an empty line before return statements", | |
| "filterText": "\"newline-before-return\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"newline-before-return\"", | |
| "label": "newline-before-return", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"newline-per-chained-call\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require a newline after each call in a method chain", | |
| "filterText": "\"newline-per-chained-call\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"newline-per-chained-call\"", | |
| "label": "newline-per-chained-call", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"new-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parentheses when invoking a constructor with no arguments", | |
| "filterText": "\"new-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"new-parens\"", | |
| "label": "new-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-array-constructor\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow Array constructors", | |
| "filterText": "\"no-array-constructor\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-array-constructor\"", | |
| "label": "no-array-constructor", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-bitwise\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow bitwise operators", | |
| "filterText": "\"no-bitwise\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-bitwise\"", | |
| "label": "no-bitwise", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-continue\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow continue statements", | |
| "filterText": "\"no-continue\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-continue\"", | |
| "label": "no-continue", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-inline-comments\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow inline comments after code", | |
| "filterText": "\"no-inline-comments\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-inline-comments\"", | |
| "label": "no-inline-comments", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-lonely-if\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow if statements as the only statement in else blocks", | |
| "filterText": "\"no-lonely-if\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-lonely-if\"", | |
| "label": "no-lonely-if", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-mixed-operators\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow mixed binary operators", | |
| "filterText": "\"no-mixed-operators\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-mixed-operators\"", | |
| "label": "no-mixed-operators", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-mixed-spaces-and-tabs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow mixed spaces and tabs for indentation", | |
| "filterText": "\"no-mixed-spaces-and-tabs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-mixed-spaces-and-tabs\"", | |
| "label": "no-mixed-spaces-and-tabs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multi-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow use of chained assignment expressions", | |
| "filterText": "\"no-multi-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multi-assign\"", | |
| "label": "no-multi-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-multiple-empty-lines\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow multiple empty lines", | |
| "filterText": "\"no-multiple-empty-lines\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-multiple-empty-lines\"", | |
| "label": "no-multiple-empty-lines", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-negated-condition\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow negated conditions", | |
| "filterText": "\"no-negated-condition\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-negated-condition\"", | |
| "label": "no-negated-condition", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-nested-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow nested ternary expressions", | |
| "filterText": "\"no-nested-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-nested-ternary\"", | |
| "label": "no-nested-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-object\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow Object constructors", | |
| "filterText": "\"no-new-object\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-object\"", | |
| "label": "no-new-object", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-plusplus\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow the unary operators ++ and --", | |
| "filterText": "\"no-plusplus\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-plusplus\"", | |
| "label": "no-plusplus", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-syntax\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified syntax", | |
| "filterText": "\"no-restricted-syntax\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-syntax\"", | |
| "label": "no-restricted-syntax", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-spaced-func\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "", | |
| "filterText": "\"no-spaced-func\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-spaced-func\"", | |
| "label": "no-spaced-func", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-tabs\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow tabs in file", | |
| "filterText": "\"no-tabs\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-tabs\"", | |
| "label": "no-tabs", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow ternary operators", | |
| "filterText": "\"no-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-ternary\"", | |
| "label": "no-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-trailing-spaces\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow trailing whitespace at the end of lines", | |
| "filterText": "\"no-trailing-spaces\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-trailing-spaces\"", | |
| "label": "no-trailing-spaces", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-underscore-dangle\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow dangling underscores in identifiers", | |
| "filterText": "\"no-underscore-dangle\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-underscore-dangle\"", | |
| "label": "no-underscore-dangle", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-unneeded-ternary\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow ternary operators when simpler alternatives exist", | |
| "filterText": "\"no-unneeded-ternary\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-unneeded-ternary\"", | |
| "label": "no-unneeded-ternary", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-whitespace-before-property\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow whitespace before properties", | |
| "filterText": "\"no-whitespace-before-property\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-whitespace-before-property\"", | |
| "label": "no-whitespace-before-property", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"nonblock-statement-body-position\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the location of single-line statements", | |
| "filterText": "\"nonblock-statement-body-position\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"nonblock-statement-body-position\"", | |
| "label": "nonblock-statement-body-position", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-curly-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent line breaks inside braces", | |
| "filterText": "\"object-curly-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-curly-newline\"", | |
| "label": "object-curly-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-curly-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside braces", | |
| "filterText": "\"object-curly-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-curly-spacing\"", | |
| "label": "object-curly-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-property-newline\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce placing object properties on separate lines", | |
| "filterText": "\"object-property-newline\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-property-newline\"", | |
| "label": "object-property-newline", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"object-shorthand\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow method and property shorthand syntax for object literals", | |
| "filterText": "\"object-shorthand\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"object-shorthand\"", | |
| "label": "object-shorthand", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"one-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce variables to be declared either together or separately in functions", | |
| "filterText": "\"one-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"one-var\"", | |
| "label": "one-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"one-var-declaration-per-line\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow newlines around var declarations", | |
| "filterText": "\"one-var-declaration-per-line\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"one-var-declaration-per-line\"", | |
| "label": "one-var-declaration-per-line", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"operator-assignment\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow assignment operator shorthand where possible", | |
| "filterText": "\"operator-assignment\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"operator-assignment\"", | |
| "label": "operator-assignment", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"operator-linebreak\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent linebreak style for operators", | |
| "filterText": "\"operator-linebreak\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"operator-linebreak\"", | |
| "label": "operator-linebreak", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"padded-blocks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow padding within blocks", | |
| "filterText": "\"padded-blocks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"padded-blocks\"", | |
| "label": "padded-blocks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"padding-line-between-statements\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow padding lines between statements", | |
| "filterText": "\"padding-line-between-statements\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"padding-line-between-statements\"", | |
| "label": "padding-line-between-statements", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"quote-props\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require quotes around object literal property names", | |
| "filterText": "\"quote-props\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"quote-props\"", | |
| "label": "quote-props", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"quotes\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce the consistent use of either backticks, double, or single quotes", | |
| "filterText": "\"quotes\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"quotes\"", | |
| "label": "quotes", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"require-jsdoc\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require JSDoc comments", | |
| "filterText": "\"require-jsdoc\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"require-jsdoc\"", | |
| "label": "require-jsdoc", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"semi\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow semicolons instead of ASI", | |
| "filterText": "\"semi\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"semi\"", | |
| "label": "semi", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"semi-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after semicolons", | |
| "filterText": "\"semi-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"semi-spacing\"", | |
| "label": "semi-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"semi-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce location of semicolons", | |
| "filterText": "\"semi-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"semi-style\"", | |
| "label": "semi-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"sort-keys\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Requires object keys to be sorted", | |
| "filterText": "\"sort-keys\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"sort-keys\"", | |
| "label": "sort-keys", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"sort-vars\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require variables within the same declaration block to be sorted", | |
| "filterText": "\"sort-vars\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"sort-vars\"", | |
| "label": "sort-vars", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-before-blocks\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before blocks", | |
| "filterText": "\"space-before-blocks\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-before-blocks\"", | |
| "label": "space-before-blocks", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-before-function-paren\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before function definition opening parenthesis", | |
| "filterText": "\"space-before-function-paren\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-before-function-paren\"", | |
| "label": "space-before-function-paren", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"spaced-comment\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing after the // or /* in a comment", | |
| "filterText": "\"spaced-comment\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"spaced-comment\"", | |
| "label": "spaced-comment", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-infix-ops\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require spacing around operators", | |
| "filterText": "\"space-infix-ops\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-infix-ops\"", | |
| "label": "space-infix-ops", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-in-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing inside parentheses", | |
| "filterText": "\"space-in-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-in-parens\"", | |
| "label": "space-in-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"space-unary-ops\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before or after unary operators", | |
| "filterText": "\"space-unary-ops\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"space-unary-ops\"", | |
| "label": "space-unary-ops", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"switch-colon-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce spacing around colons of switch statements", | |
| "filterText": "\"switch-colon-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"switch-colon-spacing\"", | |
| "label": "switch-colon-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"template-tag-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing between template tags and their literals", | |
| "filterText": "\"template-tag-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"template-tag-spacing\"", | |
| "label": "template-tag-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"unicode-bom\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow Unicode byte order mark (BOM)", | |
| "filterText": "\"unicode-bom\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"unicode-bom\"", | |
| "label": "unicode-bom", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"wrap-regex\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parenthesis around regex literals", | |
| "filterText": "\"wrap-regex\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"wrap-regex\"", | |
| "label": "wrap-regex", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"arrow-body-style\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require braces around arrow function bodies", | |
| "filterText": "\"arrow-body-style\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"arrow-body-style\"", | |
| "label": "arrow-body-style", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"arrow-parens\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require parentheses around arrow function arguments", | |
| "filterText": "\"arrow-parens\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"arrow-parens\"", | |
| "label": "arrow-parens", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"arrow-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing before and after the arrow in arrow functions", | |
| "filterText": "\"arrow-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"arrow-spacing\"", | |
| "label": "arrow-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"constructor-super\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require super() calls in constructors", | |
| "filterText": "\"constructor-super\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"constructor-super\"", | |
| "label": "constructor-super", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"generator-star-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce consistent spacing around * operators in generator functions", | |
| "filterText": "\"generator-star-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"generator-star-spacing\"", | |
| "label": "generator-star-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-class-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning class members", | |
| "filterText": "\"no-class-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-class-assign\"", | |
| "label": "no-class-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-confusing-arrow\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow arrow functions where they could be confused with comparisons", | |
| "filterText": "\"no-confusing-arrow\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-confusing-arrow\"", | |
| "label": "no-confusing-arrow", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-const-assign\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow reassigning const variables", | |
| "filterText": "\"no-const-assign\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-const-assign\"", | |
| "label": "no-const-assign", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-dupe-class-members\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate class members", | |
| "filterText": "\"no-dupe-class-members\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-dupe-class-members\"", | |
| "label": "no-dupe-class-members", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-duplicate-imports\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow duplicate module imports", | |
| "filterText": "\"no-duplicate-imports\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-duplicate-imports\"", | |
| "label": "no-duplicate-imports", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-new-symbol\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow new operators with the Symbol object", | |
| "filterText": "\"no-new-symbol\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-new-symbol\"", | |
| "label": "no-new-symbol", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-restricted-imports\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow specified modules when loaded by import", | |
| "filterText": "\"no-restricted-imports\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-restricted-imports\"", | |
| "label": "no-restricted-imports", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-this-before-super\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow this/super before calling super() in constructors", | |
| "filterText": "\"no-this-before-super\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-this-before-super\"", | |
| "label": "no-this-before-super", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-computed-key\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary computed property keys in object literals", | |
| "filterText": "\"no-useless-computed-key\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-computed-key\"", | |
| "label": "no-useless-computed-key", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-constructor\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow unnecessary constructors", | |
| "filterText": "\"no-useless-constructor\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-constructor\"", | |
| "label": "no-useless-constructor", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-useless-rename\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow renaming import, export, and destructured assignments to the same name", | |
| "filterText": "\"no-useless-rename\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-useless-rename\"", | |
| "label": "no-useless-rename", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"no-var\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require let or const instead of var", | |
| "filterText": "\"no-var\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"no-var\"", | |
| "label": "no-var", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-arrow-callback\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require arrow functions as callbacks", | |
| "filterText": "\"prefer-arrow-callback\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-arrow-callback\"", | |
| "label": "prefer-arrow-callback", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-const\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require const declarations for variables that are never reassigned after declared", | |
| "filterText": "\"prefer-const\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-const\"", | |
| "label": "prefer-const", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-destructuring\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require destructuring from arrays and/or objects", | |
| "filterText": "\"prefer-destructuring\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-destructuring\"", | |
| "label": "prefer-destructuring", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-numeric-literals\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Disallow parseInt() in favor of binary, octal, and hexadecimal literals", | |
| "filterText": "\"prefer-numeric-literals\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-numeric-literals\"", | |
| "label": "prefer-numeric-literals", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-reflect\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require Reflect methods where applicable", | |
| "filterText": "\"prefer-reflect\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-reflect\"", | |
| "label": "prefer-reflect", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-rest-params\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require rest parameters instead of arguments", | |
| "filterText": "\"prefer-rest-params\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-rest-params\"", | |
| "label": "prefer-rest-params", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-spread\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require spread operators instead of .apply()", | |
| "filterText": "\"prefer-spread\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-spread\"", | |
| "label": "prefer-spread", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"prefer-template\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require template literals instead of string concatenation", | |
| "filterText": "\"prefer-template\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"prefer-template\"", | |
| "label": "prefer-template", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"require-yield\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require generator functions to contain yield", | |
| "filterText": "\"require-yield\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"require-yield\"", | |
| "label": "require-yield", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"rest-spread-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce spacing between rest and spread operators and their expressions", | |
| "filterText": "\"rest-spread-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"rest-spread-spacing\"", | |
| "label": "rest-spread-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"sort-imports\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Enforce sorted import declarations within modules", | |
| "filterText": "\"sort-imports\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"sort-imports\"", | |
| "label": "sort-imports", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"symbol-description\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require symbol descriptions", | |
| "filterText": "\"symbol-description\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"symbol-description\"", | |
| "label": "symbol-description", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"template-curly-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing around embedded expressions of template strings", | |
| "filterText": "\"template-curly-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"template-curly-spacing\"", | |
| "label": "template-curly-spacing", | |
| "kind": 10 | |
| }, | |
| { | |
| "textEdit": { | |
| "newText": "\"yield-star-spacing\"", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| "documentation": "Require or disallow spacing around the * in yield* expressions", | |
| "filterText": "\"yield-star-spacing\"", | |
| "insertTextFormat": 2, | |
| "insertText": "\"yield-star-spacing\"", | |
| "label": "yield-star-spacing", | |
| "kind": 10 | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:07 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 50 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 2 | |
| } | |
| }, | |
| "rangeLength": 0, | |
| "text": "t" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:07 PM] Sending request 'textDocument/hover - (45)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| }, | |
| "position": { | |
| "line": 25, | |
| "character": 3 | |
| } | |
| } | |
| [Trace - 06:18:07 PM] Received response 'textDocument/hover - (45)' in 2ms. | |
| Result: { | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| }, | |
| "contents": [ | |
| "" | |
| ] | |
| } | |
| [Trace - 06:18:08 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 3, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:09 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 51 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 3 | |
| } | |
| }, | |
| "rangeLength": 1, | |
| "text": "" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:10 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 2, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:11 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 52 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 2 | |
| } | |
| }, | |
| "rangeLength": 0, | |
| "text": "l" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:11 PM] Sending request 'textDocument/hover - (46)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| }, | |
| "position": { | |
| "line": 25, | |
| "character": 3 | |
| } | |
| } | |
| [Trace - 06:18:11 PM] Received response 'textDocument/hover - (46)' in 1ms. | |
| Result: { | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| }, | |
| "contents": [ | |
| "" | |
| ] | |
| } | |
| [Trace - 06:18:11 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 3, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:12 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 53 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 3 | |
| } | |
| }, | |
| "rangeLength": 1, | |
| "text": "" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:12 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 54 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 2 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 2 | |
| } | |
| }, | |
| "rangeLength": 0, | |
| "text": "n" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:12 PM] Sending request 'textDocument/hover - (47)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| }, | |
| "position": { | |
| "line": 25, | |
| "character": 3 | |
| } | |
| } | |
| [Trace - 06:18:12 PM] Received response 'textDocument/hover - (47)' in 2ms. | |
| Result: { | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| }, | |
| "contents": [ | |
| "" | |
| ] | |
| } | |
| [Trace - 06:18:12 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 3, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:12 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 55 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 3 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 3 | |
| } | |
| }, | |
| "rangeLength": 0, | |
| "text": "o" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:13 PM] Sending request 'textDocument/hover - (48)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| }, | |
| "position": { | |
| "line": 25, | |
| "character": 4 | |
| } | |
| } | |
| [Trace - 06:18:13 PM] Received response 'textDocument/hover - (48)' in 22ms. | |
| Result: { | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| }, | |
| "contents": [ | |
| "" | |
| ] | |
| } | |
| [Trace - 06:18:13 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 4, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:13 PM] Sending notification 'textDocument/didChange'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json", | |
| "version": 56 | |
| }, | |
| "contentChanges": [ | |
| { | |
| "range": { | |
| "start": { | |
| "line": 25, | |
| "character": 4 | |
| }, | |
| "end": { | |
| "line": 25, | |
| "character": 4 | |
| } | |
| }, | |
| "rangeLength": 0, | |
| "text": "-" | |
| } | |
| ] | |
| } | |
| [Trace - 06:18:13 PM] Received notification 'textDocument/publishDiagnostics'. | |
| Params: { | |
| "diagnostics": [ | |
| { | |
| "source": "json", | |
| "code": 258, | |
| "severity": 1, | |
| "message": "Unexpected end of string.", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 25 | |
| }, | |
| "start": { | |
| "character": 1, | |
| "line": 25 | |
| } | |
| } | |
| }, | |
| { | |
| "source": "json", | |
| "code": 515, | |
| "severity": 1, | |
| "message": "Colon expected", | |
| "range": { | |
| "end": { | |
| "character": 5, | |
| "line": 26 | |
| }, | |
| "start": { | |
| "character": 4, | |
| "line": 26 | |
| } | |
| } | |
| } | |
| ], | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| [Trace - 06:18:14 PM] Sending request 'textDocument/documentColor - (49)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/yyoncho/Sources/my-app/.eslintrc.json" | |
| } | |
| } | |
| [Trace - 06:18:14 PM] Received response 'textDocument/documentColor - (49)' in 2ms. | |
| Result: [] | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment