un-ts / eslint

Incredible ESLint plugins, make ESLint greater
https://eslint-plugins.vercel.app
MIT License
4 stars 1 forks source link

feat!: migrate to markuplint v3 #103

Closed JounQin closed 1 year ago

stackblitz[bot] commented 1 year ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: af32c3cecf86569c9cdf9ea1bd5fd570fd50e4df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ---------------------------- | ----- | | eslint-plugin-htm | Minor | | eslint-plugin-markup | Minor | | eslint-plugin-react-enhanced | Minor | | eslint-plugin-text | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

github-actions[bot] commented 1 year ago

📊 Package size report   No changes

File Before After
Total (Includes all files) 82.6 kB 82.6 kB
Tarball size 18.3 kB 18.3 kB
Unchanged files | File | Size | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------: | | [`.changeset/config.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.changeset/config.json) | `309 B` | | [`.changeset/README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.changeset/README.md) | `510 B` | | [`.codesandbox/ci.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.codesandbox/ci.json) | `76 B` | | [`.github/workflows/ci.yml`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.github/workflows/ci.yml) | `757 B` | | [`.github/workflows/pkg-size.yml`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.github/workflows/pkg-size.yml) | `494 B` | | [`.github/workflows/release.yml`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.github/workflows/release.yml) | `1.1 kB` | | [`.github/workflows/vercel.yml`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.github/workflows/vercel.yml) | `815 B` | | [`.lintstagedrc.js`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.lintstagedrc.js) | `50 B` | | [`.nvmrc`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.nvmrc) | `6 B` | | [`.prettierignore`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.prettierignore) | `41 B` | | [`.simple-git-hooks.js`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.simple-git-hooks.js) | `51 B` | | [`.stylelintignore`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.stylelintignore) | `92 B` | | [`.stylelintrc`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/.stylelintrc) | `42 B` | | [`CHANGELOG.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/CHANGELOG.md) | `403 B` | | [`docs/App.tsx`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/docs/App.tsx) | `1.3 kB` | | [`docs/global.scss`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/docs/global.scss) | `156 B` | | [`docs/index.tsx`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/docs/index.tsx) | `208 B` | | [`docs/tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/docs/tsconfig.json) | `82 B` | | [`LICENSE`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/LICENSE) | `1.1 kB` | | [`package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/package.json) | `3.3 kB` | | [`packages/htm/CHANGELOG.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/CHANGELOG.md) | `2.4 kB` | | [`packages/htm/package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/package.json) | `1.2 kB` | | [`packages/htm/README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/README.md) | `2.9 kB` | | [`packages/htm/src/configs.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/src/configs.ts) | `259 B` | | [`packages/htm/src/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/src/index.ts) | `427 B` | | [`packages/htm/src/parser.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/src/parser.ts) | `767 B` | | [`packages/htm/src/rules/html.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/src/rules/html.ts) | `670 B` | | [`packages/htm/src/rules/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/src/rules/index.ts) | `23 B` | | [`packages/htm/test/__snapshots__/fixtures.spec.ts.snap`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/test/__snapshots__/fixtures.spec.ts.snap) | `364 B` | | [`packages/htm/test/fixtures.spec.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/test/fixtures.spec.ts) | `514 B` | | [`packages/htm/test/fixtures/.htmlhintrc`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/test/fixtures/.htmlhintrc) | `47 B` | | [`packages/htm/test/fixtures/basic.html`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/test/fixtures/basic.html) | `44 B` | | [`packages/htm/tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/htm/tsconfig.json) | `153 B` | | [`packages/markup/CHANGELOG.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/CHANGELOG.md) | `4.8 kB` | | [`packages/markup/package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/package.json) | `1.3 kB` | | [`packages/markup/README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/README.md) | `2.9 kB` | | [`packages/markup/src/configs.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/src/configs.ts) | `270 B` | | [`packages/markup/src/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/src/index.ts) | `615 B` | | [`packages/markup/src/parser.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/src/parser.ts) | `773 B` | | [`packages/markup/src/rules/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/src/rules/index.ts) | `25 B` | | [`packages/markup/src/rules/markup.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/src/rules/markup.ts) | `1.8 kB` | | [`packages/markup/src/worker.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/src/worker.ts) | `239 B` | | [`packages/markup/test/__snapshots__/fixtures.spec.ts.snap`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/__snapshots__/fixtures.spec.ts.snap) | `2.8 kB` | | [`packages/markup/test/fixtures.spec.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures.spec.ts) | `515 B` | | [`packages/markup/test/fixtures/.markuplintrc`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/.markuplintrc) | `106 B` | | [`packages/markup/test/fixtures/attr-equal-space-after.html`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/attr-equal-space-after.html) | `106 B` | | [`packages/markup/test/fixtures/attr-spacing.html`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/attr-spacing.html) | `34 B` | | [`packages/markup/test/fixtures/combine.html`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/combine.html) | `141 B` | | [`packages/markup/test/fixtures/doctype.html`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/doctype.html) | `144 B` | | [`packages/markup/test/fixtures/empty.html`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/empty.html) | `0 B` | | [`packages/markup/test/fixtures/textlint/.markuplintrc.js`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/fixtures/textlint/.markuplintrc.js) | `233 B` | | [`packages/markup/test/rules.spec.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/test/rules.spec.ts) | `2.2 kB` | | [`packages/markup/tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/markup/tsconfig.json) | `170 B` | | [`packages/react-enhanced/CHANGELOG.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/CHANGELOG.md) | `283 B` | | [`packages/react-enhanced/package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/package.json) | `1.1 kB` | | [`packages/react-enhanced/README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/README.md) | `2.9 kB` | | [`packages/react-enhanced/src/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/src/index.ts) | `24 B` | | [`packages/react-enhanced/src/rules/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/src/rules/index.ts) | `198 B` | | [`packages/react-enhanced/src/rules/prefer-observable.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/src/rules/prefer-observable.ts) | `116 B` | | [`packages/react-enhanced/tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/react-enhanced/tsconfig.json) | `153 B` | | [`packages/text/CHANGELOG.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/CHANGELOG.md) | `1.2 kB` | | [`packages/text/package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/package.json) | `1.3 kB` | | [`packages/text/README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/README.md) | `2.9 kB` | | [`packages/text/src/configs.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/configs.ts) | `474 B` | | [`packages/text/src/helpers.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/helpers.ts) | `3.5 kB` | | [`packages/text/src/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/index.ts) | `675 B` | | [`packages/text/src/parser.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/parser.ts) | `767 B` | | [`packages/text/src/rules/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/rules/index.ts) | `52 B` | | [`packages/text/src/rules/retext.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/rules/retext.ts) | `2.1 kB` | | [`packages/text/src/rules/textlint.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/rules/textlint.ts) | `850 B` | | [`packages/text/src/sync.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/sync.ts) | `243 B` | | [`packages/text/src/types.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/types.ts) | `744 B` | | [`packages/text/src/worker.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/src/worker.ts) | `4.4 kB` | | [`packages/text/test/__snapshots__/fixtures.spec.ts.snap`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/__snapshots__/fixtures.spec.ts.snap) | `2.1 kB` | | [`packages/text/test/fixtures.spec.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/fixtures.spec.ts) | `624 B` | | [`packages/text/test/fixtures/.retextrc.js`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/fixtures/.retextrc.js) | `252 B` | | [`packages/text/test/fixtures/.textlintrc`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/fixtures/.textlintrc) | `187 B` | | [`packages/text/test/fixtures/basic.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/fixtures/basic.md) | `82 B` | | [`packages/text/test/fixtures/basic.txt`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/fixtures/basic.txt) | `49 B` | | [`packages/text/test/package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/test/package.json) | `23 B` | | [`packages/text/tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/text/tsconfig.json) | `153 B` | | [`packages/utils/CHANGELOG.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/CHANGELOG.md) | `1.3 kB` | | [`packages/utils/package.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/package.json) | `920 B` | | [`packages/utils/README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/README.md) | `2.9 kB` | | [`packages/utils/src/helpers.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/src/helpers.ts) | `747 B` | | [`packages/utils/src/index.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/src/index.ts) | `69 B` | | [`packages/utils/src/processors.ts`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/src/processors.ts) | `862 B` | | [`packages/utils/tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/packages/utils/tsconfig.json) | `153 B` | | [`README.md`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/README.md) | `7.3 kB` | | [`tsconfig.base.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/tsconfig.base.json) | `391 B` | | [`tsconfig.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/tsconfig.json) | `329 B` | | [`tsconfig.lib.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/tsconfig.lib.json) | `88 B` | | [`vercel.json`](https://github.com/un-ts/eslint/blob/feat/markuplint_v3/vercel.json) | `296 B` |

🤖 This report was automatically generated by pkg-size-action

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 87.50% and project coverage change: -26.40 :warning:

Comparison is base (447e49d) 91.91% compared to head (af32c3c) 65.51%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #103 +/- ## =========================================== - Coverage 91.91% 65.51% -26.40% =========================================== Files 20 7 -13 Lines 136 58 -78 Branches 14 10 -4 =========================================== - Hits 125 38 -87 - Misses 9 20 +11 + Partials 2 0 -2 ``` | [Impacted Files](https://codecov.io/gh/un-ts/eslint/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts) | Coverage Δ | | |---|---|---| | [packages/markup/src/index.ts](https://codecov.io/gh/un-ts/eslint/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts#diff-cGFja2FnZXMvbWFya3VwL3NyYy9pbmRleC50cw==) | `66.66% <ø> (-33.34%)` | :arrow_down: | | [packages/utils/src/processors.ts](https://codecov.io/gh/un-ts/eslint/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts#diff-cGFja2FnZXMvdXRpbHMvc3JjL3Byb2Nlc3NvcnMudHM=) | `8.33% <ø> (-91.67%)` | :arrow_down: | | [packages/markup/src/sync.ts](https://codecov.io/gh/un-ts/eslint/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts#diff-cGFja2FnZXMvbWFya3VwL3NyYy9zeW5jLnRz) | `85.71% <85.71%> (ø)` | | | [packages/markup/src/rules/markup.ts](https://codecov.io/gh/un-ts/eslint/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts#diff-cGFja2FnZXMvbWFya3VwL3NyYy9ydWxlcy9tYXJrdXAudHM=) | `90.90% <100.00%> (-9.10%)` | :arrow_down: | ... and [12 files with indirect coverage changes](https://codecov.io/gh/un-ts/eslint/pull/103/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.