6 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 9b02e477c6 chore: consolidate eslint rules (#3368) 2024-07-14 18:54:46 -06:00
Tony Brix b17ff8be46 chore: fix rules scripts (#3358) 2024-07-03 07:20:41 -07:00
Tony Brix d559fe16ea chore: add recheck script (#2839) 2023-06-06 23:18:50 -05:00
Ben McCann 4afb228d95 fix: Convert to ESM (#2227)
BREAKING CHANGE:

- Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
2021-11-02 09:32:17 -05:00
Tony Brix f8193eda1a add npm run rules 2020-07-09 12:16:43 -05:00