pdf.js/external/builder
Jonas Jenwald 1fc09f0235 Enable the unicorn/prefer-string-replace-all ESLint plugin rule
Note that the `replaceAll` method still requires that a *global* regular expression is used, however by using this method it's immediately obvious when looking at the code that all occurrences will be replaced; please see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll#parameters

Please find additional details at https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-string-replace-all.md
2023-03-23 12:57:10 +01:00
..
fixtures Handle CSS-comments better in the preprocess-function (PR 14963 follow-up) 2022-06-02 16:06:47 +02:00
fixtures_esprima Fix duplicated function name in the Esprima fixtures 2018-08-25 16:23:20 +02:00
builder.js Enable the unicorn/prefer-string-replace-all ESLint plugin rule 2023-03-23 12:57:10 +01:00
preprocessor2.js Reduce unnecessary usage of Array.prototype.concat() 2022-06-19 13:40:52 +02:00
test-fixtures_esprima.js Enable the unicorn/prefer-string-replace-all ESLint plugin rule 2023-03-23 12:57:10 +01:00
test-fixtures.js Enable the unicorn/prefer-string-replace-all ESLint plugin rule 2023-03-23 12:57:10 +01:00