Skip to content

Commit

Permalink
Improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed May 27, 2022
1 parent 8f424e0 commit 0faf92a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

`eslint-plugin-astro` is [ESLint] plugin for [Astro] components.
`eslint-plugin-astro` is [ESLint] plugin for [Astro components].
You can check on the [Online DEMO](https://ota-meshi.github.io/eslint-plugin-astro/playground/).

[![sponsors](https://img.shields.io/badge/-Sponsor-fafbfc?logo=GitHub%20Sponsors)](https://github.com/sponsors/ota-meshi)
Expand All @@ -18,7 +18,7 @@ This plugin is in the **_experimental stages_** of development.

## :name_badge: What is this plugin?

[ESLint] plugin for [Astro] components.
[ESLint] plugin for [Astro components].

[astro-eslint-parser]: https://github.com/ota-meshi/astro-eslint-parser

Expand Down Expand Up @@ -139,7 +139,13 @@ Example **.vscode/settings.json**:

```json
{
"eslint.validate": ["javascript", "javascriptreact", "astro"]
"eslint.validate": [
"javascript",
"javascriptreact",
"astro", // Enable .astro
"typescript", // Enable .ts
"typescriptreact" // Enable .tsx
]
}
```

Expand Down Expand Up @@ -216,3 +222,4 @@ See the [LICENSE](LICENSE) file for license rights and limitations (MIT).

[astro]: https://astro.build/
[eslint]: https://eslint.org/
[astro components]: https://docs.astro.build/en/core-concepts/astro-components/
5 changes: 3 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "eslint-plugin-astro"

# Introduction

`eslint-plugin-astro` is [ESLint] plugin for [Astro] components.
`eslint-plugin-astro` is [ESLint] plugin for [Astro components].
You can check on the [Online DEMO](./playground.md).

[![sponsors](https://img.shields.io/badge/-Sponsor-fafbfc?logo=GitHub%20Sponsors)](https://github.com/sponsors/ota-meshi)
Expand All @@ -22,7 +22,7 @@ This plugin is in the **_experimental stages_** of development.

## :name_badge: What is this plugin?

[ESLint] plugin for [Astro] components.
[ESLint] plugin for [Astro components].

[astro-eslint-parser]: https://github.com/ota-meshi/astro-eslint-parser

Expand All @@ -46,3 +46,4 @@ See the [LICENSE](https://github.com/ota-meshi/eslint-plugin-astro/blob/main/LIC

[astro]: https://astro.build/
[eslint]: https://eslint.org/
[astro components]: https://docs.astro.build/en/core-concepts/astro-components/
8 changes: 7 additions & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,13 @@ Example **.vscode/settings.json**:

```json
{
"eslint.validate": ["javascript", "javascriptreact", "astro"]
"eslint.validate": [
"javascript",
"javascriptreact",
"astro", // Enable .astro
"typescript", // Enable .ts
"typescriptreact" // Enable .tsx
]
}
```

Expand Down

0 comments on commit 0faf92a

Please sign in to comment.