pdf.js/src/shared
Jonas Jenwald 81525fd446 Use ESLint to ensure that exports are sorted alphabetically
There's built-in ESLint rule, see `sort-imports`, to ensure that all `import`-statements are sorted alphabetically, since that often helps with readability.
Unfortunately there's no corresponding rule to sort `export`-statements alphabetically, however there's an ESLint plugin which does this; please see https://www.npmjs.com/package/eslint-plugin-sort-exports

The only downside here is that it's not automatically fixable, but the re-ordering is a one-time "cost" and the plugin will help maintain a *consistent* ordering of `export`-statements in the future.
*Note:* To reduce the possibility of introducing any errors here, the re-ordering was done by simply selecting the relevant lines and then using the built-in sort-functionality of my editor.
2021-01-09 20:37:51 +01:00
..
.eslintrc Prevent use of optional chaining and nullish coalescing in the src/shared/ folder 2020-10-26 13:16:01 +01:00
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js Change the minimum "supported" version of the Safari-browser to Safari 10 2020-12-15 09:49:32 +01:00
fonts_utils.js Fix some static static analyzer warnings (issue 11965) 2020-11-01 12:08:38 +01:00
is_node.js Make the detection of Node.js environments on Electron strict. 2020-07-12 10:56:17 +09:00
message_handler.js Enable the ESLint no-var rule in the src/shared/ folder 2020-10-03 08:27:45 +02:00
scripting_utils.js [Regression] Prevent the *built* pdf.scripting.js/pdf.sandbox.js files from accidentally including most of the main-thread code (PR 12631 follow-up) 2020-12-04 14:17:26 +01:00
util.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
xml_parser.js Fix *some* errors reported by the ESLint no-useless-escape rule 2020-10-29 15:40:40 +01:00