Skip to content

Commit

Permalink
fix: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisi Linhart authored and Lisi Linhart committed Aug 25, 2024
1 parent 46f7357 commit 5597cfe
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .eslint-doc-generatorrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"configEmoji": [
["recommended-flat", "βœ…"],
["all-flat", "🌐"]
]
}
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,19 @@ export default [
⚠️ Configurations set to warn in.\
🚫 Configurations disabled in.\
🌐 Set in the `all` configuration.\
βœ… Set in the `recommended` configuration.

| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  | Description | πŸ’Ό | ⚠️ | 🚫 |
| :------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- | :---------------------------- | :--------------------------------------------------- | :--------------------- |
| [never-export-initialized-store](docs/rules/never-export-initialized-store.md) | Never export an initialized named or default store. | βœ… ![badge-recommended-flat][] | 🌐 ![badge-all-flat][] | |
| [no-duplicate-store-ids](docs/rules/no-duplicate-store-ids.md) | Disallow duplicate store ids. | βœ… ![badge-recommended-flat][] | 🌐 ![badge-all-flat][] | |
| [no-return-global-properties](docs/rules/no-return-global-properties.md) | Disallows returning globally provided properties from Pinia stores. | βœ… ![badge-recommended-flat][] | 🌐 ![badge-all-flat][] | |
| [no-store-to-refs-in-store](docs/rules/no-store-to-refs-in-store.md) | Disallow use of storeToRefs inside defineStore | βœ… ![badge-recommended-flat][] | 🌐 ![badge-all-flat][] | |
| [prefer-single-store-per-file](docs/rules/prefer-single-store-per-file.md) | Encourages defining each store in a separate file. | | | 🌐 ![badge-all-flat][] |
| [prefer-use-store-naming-convention](docs/rules/prefer-use-store-naming-convention.md) | Enforces the convention of naming stores with the prefix `use` followed by the store name. | | 🌐 βœ… ![badge-all-flat][] ![badge-recommended-flat][] | |
| [require-setup-store-properties-export](docs/rules/require-setup-store-properties-export.md) | In setup stores all state properties must be exported. | βœ… ![badge-recommended-flat][] | 🌐 ![badge-all-flat][] | |
🌐 Set in the `all-flat` configuration.\
βœ… Set in the `recommended` configuration.\
βœ… Set in the `recommended-flat` configuration.

| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  | Description | πŸ’Ό | ⚠️ | 🚫 |
| :------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- | :-- | :-------- | :---- |
| [never-export-initialized-store](docs/rules/never-export-initialized-store.md) | Never export an initialized named or default store. | βœ… βœ… | 🌐 🌐 | |
| [no-duplicate-store-ids](docs/rules/no-duplicate-store-ids.md) | Disallow duplicate store ids. | βœ… βœ… | 🌐 🌐 | |
| [no-return-global-properties](docs/rules/no-return-global-properties.md) | Disallows returning globally provided properties from Pinia stores. | βœ… βœ… | 🌐 🌐 | |
| [no-store-to-refs-in-store](docs/rules/no-store-to-refs-in-store.md) | Disallow use of storeToRefs inside defineStore | βœ… βœ… | 🌐 🌐 | |
| [prefer-single-store-per-file](docs/rules/prefer-single-store-per-file.md) | Encourages defining each store in a separate file. | | | 🌐 🌐 |
| [prefer-use-store-naming-convention](docs/rules/prefer-use-store-naming-convention.md) | Enforces the convention of naming stores with the prefix `use` followed by the store name. | | 🌐 🌐 βœ… βœ… | |
| [require-setup-store-properties-export](docs/rules/require-setup-store-properties-export.md) | In setup stores all state properties must be exported. | βœ… βœ… | 🌐 🌐 | |

<!-- end auto-generated rules list -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/never-export-initialized-store.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Never export an initialized named or default store (`pinia/never-export-initialized-store`)

πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, `all-flat`.
πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, βœ… `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, 🌐 `all-flat`.

<!-- end auto-generated rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-duplicate-store-ids.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Disallow duplicate store ids (`pinia/no-duplicate-store-ids`)

πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, `all-flat`.
πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, βœ… `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, 🌐 `all-flat`.

<!-- end auto-generated rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-return-global-properties.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Disallows returning globally provided properties from Pinia stores (`pinia/no-return-global-properties`)

πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, `all-flat`.
πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, βœ… `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, 🌐 `all-flat`.

<!-- end auto-generated rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-store-to-refs-in-store.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Disallow use of storeToRefs inside defineStore (`pinia/no-store-to-refs-in-store`)

πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, `all-flat`.
πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, βœ… `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, 🌐 `all-flat`.

<!-- end auto-generated rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prefer-single-store-per-file.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Encourages defining each store in a separate file (`pinia/prefer-single-store-per-file`)

🚫 This rule is _disabled_ in the following configs: 🌐 `all`, `all-flat`.
🚫 This rule is _disabled_ in the following configs: 🌐 `all`, 🌐 `all-flat`.

<!-- end auto-generated rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prefer-use-store-naming-convention.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Enforces the convention of naming stores with the prefix `use` followed by the store name (`pinia/prefer-use-store-naming-convention`)

⚠️ This rule _warns_ in the following configs: 🌐 `all`, `all-flat`, βœ… `recommended`, `recommended-flat`.
⚠️ This rule _warns_ in the following configs: 🌐 `all`, 🌐 `all-flat`, βœ… `recommended`, βœ… `recommended-flat`.

<!-- end auto-generated rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/require-setup-store-properties-export.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# In setup stores all state properties must be exported (`pinia/require-setup-store-properties-export`)

πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, `all-flat`.
πŸ’Όβš οΈ This rule is enabled in the following configs: βœ… `recommended`, βœ… `recommended-flat`. This rule _warns_ in the following configs: 🌐 `all`, 🌐 `all-flat`.

<!-- end auto-generated rule header -->

Expand Down

0 comments on commit 5597cfe

Please sign in to comment.