Searched +full:valid +full:- +full:jsdoc (Results 1 – 14 of 14) sorted by relevance
| /third_party/node/tools/node_modules/eslint/lib/rules/ |
| D | valid-jsdoc.js | 2 * @fileoverview Validates JSDoc comments are syntactically correct 7 //------------------------------------------------------------------------------ 9 //------------------------------------------------------------------------------ 13 //------------------------------------------------------------------------------ 15 //------------------------------------------------------------------------------ 22 description: "enforce valid JSDoc comments", 25 url: "https://eslint.org/docs/rules/valid-jsdoc" 75 expected: "Expected JSDoc for '{{name}}' but found '{{jsdocName}}'.", 78 syntaxError: "JSDoc syntax error.", 79 missingBrace: "JSDoc type missing brace.", [all …]
|
| D | spaced-comment.js | 2 * @fileoverview Source code for spaced-comments rule 8 const astUtils = require("./utils/ast-utils"); 10 //------------------------------------------------------------------------------ 12 //------------------------------------------------------------------------------ 35 * If markers don't include `"*"`, this adds `"*"` to allow JSDoc comments. 41 // `*` is a marker for JSDoc comments. 42 if (markers.indexOf("*") === -1) { 63 * ["-"] ==> "(?:\s|\-+$)" 64 * ["-", "="] ==> "(?:\s|(?:\-+|=+)$)" 65 …-", "=", "--=="] ==> "(?:\s|(?:\-+|=+|(?:\-\-==)+)$)" ==> https://jex.im/regulex/#!embed=false&fla… [all …]
|
| D | index.js | 2 …* @fileoverview Collects the built-in rules into a map structure so that they can be imported all … 3 * using the file-system directly. 9 /* eslint sort-keys: ["error", "asc"] */ 11 const { LazyLoadingRuleMap } = require("./utils/lazy-loading-rule-map"); 15 "accessor-pairs": () => require("./accessor-pairs"), 16 "array-bracket-newline": () => require("./array-bracket-newline"), 17 "array-bracket-spacing": () => require("./array-bracket-spacing"), 18 "array-callback-return": () => require("./array-callback-return"), 19 "array-element-newline": () => require("./array-element-newline"), 20 "arrow-body-style": () => require("./arrow-body-style"), [all …]
|
| D | multiline-comment-style.js | 7 const astUtils = require("./utils/ast-utils"); 9 //------------------------------------------------------------------------------ 11 //------------------------------------------------------------------------------ 21 url: "https://eslint.org/docs/rules/multiline-comment-style" 25 schema: [{ enum: ["starred-block", "separate-lines", "bare-block"] }], 39 const option = context.options[0] || "starred-block"; 41 //---------------------------------------------------------------------- 43 //---------------------------------------------------------------------- 55 * Checks if a comment group is in starred-block form. 67 …return lines.length > 0 && lines.every((line, i) => (i === 0 || i === lines.length - 1 ? /^\s*$/u … [all …]
|
| D | indent.js | 11 //------------------------------------------------------------------------------ 13 //------------------------------------------------------------------------------ 16 const astUtils = require("./utils/ast-utils"); 17 const createTree = require("functional-red-black-tree"); 19 //------------------------------------------------------------------------------ 21 //------------------------------------------------------------------------------ 147 if (iterator.valid) { 179 while (iterator.valid && iterator.key < end) { 187 * A helper class to get token-based info related to indentation 191 // eslint-disable-next-line jsdoc/require-description [all …]
|
| /third_party/node/tools/node_modules/babel-eslint/node_modules/eslint-visitor-keys/lib/ |
| D | index.js | 7 const KEYS = require("./visitor-keys.json"); 34 //------------------------------------------------------------------------------ 36 //------------------------------------------------------------------------------ 55 // Disable valid-jsdoc rule because it reports syntax error on the type of @returns. 56 // eslint-disable-next-line valid-jsdoc
|
| /third_party/node/tools/node_modules/eslint/node_modules/eslint-visitor-keys/lib/ |
| D | index.js | 7 const KEYS = require("./visitor-keys.json"); 34 //------------------------------------------------------------------------------ 36 //------------------------------------------------------------------------------ 55 // Disable valid-jsdoc rule because it reports syntax error on the type of @returns. 56 // eslint-disable-next-line valid-jsdoc
|
| /third_party/node/deps/npm/node_modules/fast-json-stable-stringify/ |
| D | .eslintrc.yml | 6 block-scoped-var: 2 7 callback-return: 2 8 dot-notation: 2 10 linebreak-style: [2, unix] 11 new-cap: 2 12 no-console: [2, allow: [warn, error]] 13 no-else-return: 2 14 no-eq-null: 2 15 no-fallthrough: 2 16 no-invalid-this: 2 [all …]
|
| /third_party/node/deps/npm/node_modules/har-validator/node_modules/json-schema-traverse/ |
| D | .eslintrc.yml | 6 block-scoped-var: 2 8 curly: [2, multi-or-nest, consistent] 9 dot-location: [2, property] 10 dot-notation: 2 12 linebreak-style: [2, unix] 13 new-cap: 2 14 no-console: [2, allow: [warn, error]] 15 no-else-return: 2 16 no-eq-null: 2 17 no-fallthrough: 2 [all …]
|
| /third_party/node/tools/node_modules/eslint/lib/source-code/ |
| D | source-code.js | 7 //------------------------------------------------------------------------------ 9 //------------------------------------------------------------------------------ 12 { isCommentToken } = require("eslint-utils"), 13 TokenStore = require("./token-store"), 14 astUtils = require("../shared/ast-utils"), 18 //------------------------------------------------------------------------------ 20 //------------------------------------------------------------------------------ 143 //------------------------------------------------------------------------------ 145 //------------------------------------------------------------------------------ 225 * The source code split into lines according to ECMA-262 specification. [all …]
|
| /third_party/node/tools/node_modules/eslint/lib/init/ |
| D | config-rule.js | 8 //------------------------------------------------------------------------------ 10 //------------------------------------------------------------------------------ 14 //------------------------------------------------------------------------------ 16 //------------------------------------------------------------------------------ 35 * combineArrays([a, [b, c]], [x, y]); // -> [[a, x], [a, y], [b, c, x], [b, c, y]] 58 * Group together valid rule configurations based on object properties 88 //------------------------------------------------------------------------------ 90 //------------------------------------------------------------------------------ 104 * Object whose keys are rule names and values are arrays of valid ruleConfig items 109 * "comma-dangle": [2, [2, "always"], [2, "always-multiline"], [2, "never"]], [all …]
|
| D | autoconfig.js | 8 //------------------------------------------------------------------------------ 10 //------------------------------------------------------------------------------ 13 recConfig = require("../../conf/eslint-recommended"), 14 ConfigOps = require("@eslint/eslintrc/lib/shared/config-ops"), 16 configRule = require("./config-rule"); 21 //------------------------------------------------------------------------------ 23 //------------------------------------------------------------------------------ 28 //------------------------------------------------------------------------------ 30 //------------------------------------------------------------------------------ 35 * @param {ruleConfig} config A valid configuration for the rule [all …]
|
| /third_party/node/tools/node_modules/eslint/lib/rules/utils/ |
| D | ast-utils.js | 8 //------------------------------------------------------------------------------ 10 //------------------------------------------------------------------------------ 20 } = require("../../shared/ast-utils"); 22 //------------------------------------------------------------------------------ 24 //------------------------------------------------------------------------------ 40 const DECIMAL_INTEGER_PATTERN = /^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u; 41 const OCTAL_ESCAPE_PATTERN = /^(?:[^\\]|\\[^0-7]|\\0(?![0-9]))*\\(?:[1-7]|0[0-9])/u; 62 references[index - 1].identifier !== identifier; 107 * - ArrowFunctionExpression 108 * - FunctionDeclaration [all …]
|
| /third_party/protobuf/src/google/protobuf/compiler/js/ |
| D | js_generator.cc | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 99 return sp.size() >= x.size() && sp.substr(sp.size() - x.size()) == x; in StrEndsWith() 129 // Well-known types (.proto files in the google/protobuf directory) are in GetRootPath() 130 // assumed to come from the 'google-protobuf' npm package. We may want to in GetRootPath() 133 return "google-protobuf/"; in GetRootPath() 158 ReplaceCharacters(&basename, "-", '$'); in ModuleAlias() 170 } else if (!file->package().empty()) { in GetNamespace() 171 return "proto." + file->package(); in GetNamespace() 186 descriptor->full_name(), descriptor->file()->package()); in GetNestedMessageName() [all …]
|