future-architect / eslint-plugin-vue-scoped-css

ESLint plugin for Scoped CSS in Vue.js
https://future-architect.github.io/eslint-plugin-vue-scoped-css/
MIT License
99 stars 10 forks source link

The link to the test file was broken #367

Closed Issei0804-ie closed 2 months ago

Issei0804-ie commented 2 months ago

The extension of the test file is .ts, but the documentation states a .js extension, which prevents navigation to the test file.

As a result, clicking on the TestSource in the image below does not lead to the test file.

image

In this PR, I have changed the extension of the test file mentioned in the documentation to .ts.

before the fix

$ cd ~/ghq/github.com/Issei0804-ie/eslint-plugin-vue-scoped-css
$ find ./docs/rules -type f -print | xargs grep '\[Test source\].*\.js'
./docs/rules/v-slotted-pseudo-style.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/v-slotted-pseudo-style.js)
./docs/rules/require-v-slotted-argument.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/require-v-slotted-argument.js)
./docs/rules/require-v-global-argument.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/require-v-global-argument.js)
./docs/rules/no-deprecated-v-enter-v-leave-class.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/no-deprecated-v-enter-v-leave-class.js)
./docs/rules/no-unused-keyframes.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/no-unused-keyframes.js)
./docs/rules/v-global-pseudo-style.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/v-global-pseudo-style.js)
./docs/rules/no-parsing-error.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/no-parsing-error.js)
./docs/rules/require-selector-used-inside.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/require-selector-used-inside.js)
./docs/rules/enforce-style-type.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/enforce-style-type.js)
./docs/rules/no-deprecated-deep-combinator.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/no-deprecated-deep-combinator.js)
./docs/rules/v-deep-pseudo-style.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/v-deep-pseudo-style.js)
./docs/rules/require-scoped.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/require-scoped.js)
./docs/rules/require-v-deep-argument.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/require-v-deep-argument.js)
./docs/rules/no-unused-selector.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/no-unused-selector.js)
./docs/rules/no-parent-of-v-global.md:- [Test source](https://github.com/future-architect/eslint-plugin-vue-scoped-css/blob/master/tests/lib/rules/no-parent-of-v-global.js)

After the fix

$ cd ~/ghq/github.com/Issei0804-ie/eslint-plugin-vue-scoped-css
$ find ./docs/rules -type f -print | xargs grep '\[Test source\].*\.js'
# no output
changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 52dad5d828b634cb0eedeb06cc95da3c590bf8ad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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