Skip to content

Commit fc23471

Browse files
committed
Eliminate needless enumeration of numbers in esversion
1 parent 09e7731 commit fc23471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/_enqueues/vendor/codemirror/fakejshint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @see https://www.npmjs.com/package/espree#options
1717
*
1818
* @typedef {Object} SupportedJSHintOptions
19-
* @property {3|5|6|7|8|9|10|11} [esversion] - "This option is used to specify the ECMAScript version to which the code must adhere."
19+
* @property {number} [esversion] - "This option is used to specify the ECMAScript version to which the code must adhere."
2020
* @property {boolean} [es5] - "This option enables syntax first defined in the ECMAScript 5.1 specification. This includes allowing reserved keywords as object properties."
2121
* @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."
2222
* @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."

0 commit comments

Comments
 (0)