- Timestamp:
- 09/11/2026 10:50:50 AM (13 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/lib/codemirror/javascript-lint.js
r63407 r63600 13 13 * 14 14 * @typedef {Object} CodeMirrorLintError 15 * @property {string} messageError message.16 * @property {'error'} severity Severity.17 * @property {CodeMirror.Position} from From position.18 * @property {CodeMirror.Position} to To position.15 * @property {string} message Error message. 16 * @property {'error'} severity Severity. 17 * @property {CodeMirror.Position} from From position. 18 * @property {CodeMirror.Position} to To position. 19 19 */ 20 20 … … 26 26 * 27 27 * @typedef {Object} SupportedJSHintOptions 28 * @property {import('espree').Options['ecmaVersion']} [esversion] "This option is used to specify the ECMAScript version to which the code must adhere."29 * @property {boolean} [es5]"This option enables syntax first defined in the ECMAScript 5.1 specification. This includes allowing reserved keywords as object properties."30 * @property {boolean} [es3]"This option tells JSHint that your code needs to adhere to ECMAScript 3 specification. Use this option if you need your program to be executable in older browsers—such as Internet Explorer 6/7/8/9—and other legacy JavaScript environments."31 * @property {boolean} [module]"This option informs JSHint that the input code describes an ECMAScript 6 module. All module code is interpreted as strict mode code."32 * @property {'implied'} [strict]"This option requires the code to run in ECMAScript 5's strict mode."33 * @property {string} [espreeModuleUrl] The URL to the espree script module.28 * @property {import('espree').Options['ecmaVersion']} [esversion] "This option is used to specify the ECMAScript version to which the code must adhere." 29 * @property {boolean} [es5] "This option enables syntax first defined in the ECMAScript 5.1 specification. This includes allowing reserved keywords as object properties." 30 * @property {boolean} [es3] "This option tells JSHint that your code needs to adhere to ECMAScript 3 specification. Use this option if you need your program to be executable in older browsers—such as Internet Explorer 6/7/8/9—and other legacy JavaScript environments." 31 * @property {boolean} [module] "This option informs JSHint that the input code describes an ECMAScript 6 module. All module code is interpreted as strict mode code." 32 * @property {'implied'} [strict] "This option requires the code to run in ECMAScript 5's strict mode." 33 * @property {string} [espreeModuleUrl] The URL to the espree script module. 34 34 */ 35 35 … … 39 39 * @since 7.0.0 40 40 * 41 * @param {string} textSource.41 * @param {string} text Source. 42 42 * @param {SupportedJSHintOptions} options Linting options. 43 43 * @return {Promise<CodeMirrorLintError[]>} Linting errors.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)