un-ts / eslint

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

fix: incorrect vfile usage for retext rule #88

Closed JounQin closed 2 years ago

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 4987e0c5633ca0d3c1168c781cc8dbe26d4fd010

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

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | eslint-plugin-text | Patch |

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 2 years 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.

codecov[bot] commented 2 years ago

Codecov Report

Merging #88 (4987e0c) into main (a1802d9) will increase coverage by 3.67%. The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   88.23%   91.91%   +3.67%     
==========================================
  Files          20       20              
  Lines         136      136              
  Branches       14       14              
==========================================
+ Hits          120      125       +5     
+ Misses         15        9       -6     
- Partials        1        2       +1     
Impacted Files Coverage Δ
packages/text/src/rules/index.ts 100.00% <ø> (ø)
packages/text/src/rules/textlint.ts 61.53% <0.00%> (-5.13%) :arrow_down:
packages/text/src/rules/retext.ts 73.68% <100.00%> (+26.31%) :arrow_up:
packages/text/src/index.ts 88.88% <0.00%> (+11.11%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

github-actions[bot] commented 2 years ago

📊 Package size report   No changes

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

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