Commit Graph

7 Commits

Author SHA1 Message Date
Michael Schmidt 11c54624ee
Use terser (#3407) 2022-03-22 22:32:52 +01:00
Michael Schmidt e2630d890e
ESLint: Added `regexp/sort-alternatives` rule (#3093) 2021-09-26 11:52:18 +02:00
Michael Schmidt 79d22182ba
FIxed some cases of quadratic worst-case runtime (#2922) 2021-06-08 13:50:35 +02:00
Michael Schmidt c187e229aa
Added test for unused capturing groups (#1996)
This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
2019-10-16 12:06:22 +02:00
Michael Schmidt 11d0f75eed
Applied Array.isArray (#1804)
This replaces all occurrences of `Prism.util.type(variable) {!==, ===} 'Array'` with an equivalent `Array.isArray` expression.
2019-03-14 13:17:45 +01:00
Michael Schmidt 3e00bb9c41
Rebuilt Prism (#1794)
This is a rebuilt of Prism to update minified files.
2019-03-07 15:22:30 +01:00
Michael Schmidt 493d19ef48
Added doc comment highlighting (#1541)
This adds support for JavaDoc, JSDoc, TSDoc, and PHPDoc.
2019-02-28 21:01:31 +01:00