Skip to content

Commit 8d87caf

Browse files
committed
Update descriptions
1 parent 439da7f commit 8d87caf

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This article provides a very in-depth exploration on the alternatives to TypeScr
3131

3232
## Installation
3333

34-
First, install the required peer dependencies:
34+
First, install the peer dependencies:
3535

3636
```sh
3737
npm install --save-dev eslint typescript @typescript-eslint/parser
@@ -73,7 +73,7 @@ module.exports = {
7373

7474
**Key**: :heavy_check_mark: = recommended, :wrench: = fixable, :thought_balloon: = requires type information
7575

76-
| Name | Description | :heavy_check_mark: | :wrench: | :thought_balloon: |
77-
| ---------------------------------------------------------------- | ------------------------------- | ------------------ | -------- | ----------------- |
78-
| [`typescript-enum/no-const-enum`](./docs/rules/no-const-enum.md) | Disallow the use of const enums | | | |
79-
| [`typescript-enum/no-enum`](./docs/rules/no-enum.md) | Disallow the use of enums | :heavy_check_mark: | | |
76+
| Name | Description | :heavy_check_mark: | :wrench: | :thought_balloon: |
77+
| -------------------------------------------------------------- | ------------------------------- | ------------------ | -------- | ----------------- |
78+
| [`typescript-enum/no-const-enum`](docs/rules/no-const-enum.md) | Disallow the use of const enums | | | |
79+
| [`typescript-enum/no-enum`](docs/rules/no-enum.md) | Disallow the use of all enums | :heavy_check_mark: | | |

docs/rules/no-enum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Disallow the use of enums (`no-enum`)
1+
# Disallow the use of all enums (`no-enum`)
22

33
This rule disallows the use of enums.
44

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-typescript-enum",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "ESLint rules for TypeScript enums.",
55
"main": "dist",
66
"scripts": {

src/rules/no-enum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const noEnum = createRule({
55
meta: {
66
type: "problem",
77
docs: {
8-
description: "Disallow the use of enums",
8+
description: "Disallow the use of all enums",
99
category: "Best Practices",
1010
recommended: "error",
1111
},

0 commit comments

Comments
 (0)