10 Commits

Author SHA1 Message Date
Spencer Whitehead
1f579f7628
fix: Remove unused plus typescript tightening (#3527)
* chore: remove unused build file

* chore: remove unused package

* chore: remove unused function

* chore: remove unnecessary | undefineds

* core: replace unnecessary &&s with optional chaining

* chore: use .at(-x) instead of .length - x property access

gives stricter TS typing, is more concise

* chore: tighten TS types

* chore: sort tokens alphabetically

* fix: typeof plus !== null check

* chore: type test for .parse, .use

* fix: if check
2024-11-17 21:53:28 -07:00
Tony Brix
1f88deb58a
fix: Move all regexps to rules (#3519) 2024-11-08 19:56:12 -07:00
Tony Brix
9b02e477c6
chore: consolidate eslint rules (#3368) 2024-07-14 18:54:46 -06:00
Tony Brix
62b941d417
chore: update eslint to v9 (#3367)
* chore: update eslint to v9

* remove compat

* pin typescript
2024-07-14 00:38:17 -06:00
Tony Brix
175fc0c321
fix: clean up rules so they can be typed (#3087)
BREAKING CHANGE: Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.
2023-11-28 20:56:27 -07:00
Tony Brix
22ebdb2507
fix: remove deprecated options (#2936)
BREAKING CHANGE: deprecated options removed. See https://marked.js.org/using_advanced#options to see how to enable the removed options with extensions.
2023-09-02 22:02:24 -06:00
Tony Brix
a990c54e0c
fix: fix more types (#2893)
Co-authored-by: Steven <steven@ceriously.com>
2023-08-19 16:55:56 -06:00
Tony Brix
ff1602c178
fix: noImplicitAny: true (#2891) 2023-08-09 23:33:46 -06:00
Tony Brix
610bc45d96
fix: use rollup to output js files (#2916) 2023-08-07 16:50:43 -06:00
Florian Dreier
cb549065f1
fix: Migrate to Typescript (#2805)
BREAKING CHANGE: Migrate to Typescript
2023-07-29 00:31:34 -06:00