Commit 00f9cad
authored
refactor: Adds support for Twoslash-Eslint and makes Twoslasher selection more dynamic (#80)
* feat: add Twoslash ESLint support and documentation
- Introduced support for Twoslash ESLint in the expressive-code-twoslash package.
- Added a new ESLint option for defining types of code blocks.
- Created documentation for Twoslash ESLint integration with usage examples.
- Updated pnpm workspace configuration to include twoslash-eslint dependency.
* docs: enhance Twoslash ESLint integration description for clarity
* feat: add themes configuration to EC-Twoslash
* fix: remove unnecessary await from shouldTransform function call
* fix: add missing await to shouldTransform function call in ecTwoSlash
* feat: disable syntax highlighting in markdown configuration
* feat: disable built-in syntax highlighting in Astro configuration
* feat: add ESLint configuration options for Twoslash instance
* feat: add documentation for PluginTwoslashOptions interface
* fix: ensure getTwoslasher returns null when no valid function is found
* feat: comment out shikiColorizedBrackets plugin configuration in ec.config.mjs
* fix: add missing addedIn field to Twoslash ESLint documentation
* refactor: remove shikiColorizedBrackets plugin and related theme files from configuration
* feat: re-organize sidebar
* fix: update TypeScript Twoslasher description to include hyperlink
* feat: add usage instructions for ESLint and Vue integrations in documentation
* fix: update reference to Twoslash ESLint documentation in ESLint integration guide
* fix: add eslint to ignored dependencies in Renovate configuration
* fix: remove unused @types/eslint dependency from package.json and pnpm-lock.yaml1 parent b323683 commit 00f9cad
19 files changed
Lines changed: 1383 additions & 624 deletions
File tree
- .changeset
- .github
- docs
- plugins/shiki-color-brackets
- src/content/docs
- getting-started
- reference
- twoslashers
- packages/expressive-code-twoslash
- src
- helpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments