@vibelint/eslint-plugin-vibelint 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @vibelint/eslint-plugin-vibelint
|
|
2
2
|
|
|
3
|
-
ESLint plugin to suppress approved warnings.
|
|
3
|
+
ESLint plugin to suppress approved warnings, because you've officially given up on fixing them.
|
|
4
|
+
|
|
5
|
+
This plugin reads from your `.eslint-warnings-cache.json` file, the graveyard of warnings you've approved, and suppresses those warnings so they don't clutter up your ESLint output. Because seeing the same warnings over and over is annoying, right?
|
|
4
6
|
|
|
5
7
|
## Install
|
|
6
8
|
|
|
@@ -8,18 +10,20 @@ ESLint plugin to suppress approved warnings.
|
|
|
8
10
|
npm install -D @vibelint/eslint-plugin-vibelint
|
|
9
11
|
```
|
|
10
12
|
|
|
13
|
+
Or use `lintmyvibe` if you want someone to do it for you.
|
|
14
|
+
|
|
11
15
|
## Flat Config
|
|
12
16
|
|
|
13
17
|
```js
|
|
14
18
|
import vibelintPlugin from "@vibelint/eslint-plugin-vibelint"
|
|
15
19
|
|
|
16
20
|
export default [
|
|
17
|
-
// ... your other configs
|
|
21
|
+
// ... your other configs, the ones that actually matter
|
|
18
22
|
...vibelintPlugin.configs.recommended
|
|
19
23
|
]
|
|
20
24
|
```
|
|
21
25
|
|
|
22
|
-
The recommended config automatically handles `.js`, `.ts`, `.jsx`, and `.tsx` files with the appropriate processors.
|
|
26
|
+
The recommended config automatically handles `.js`, `.ts`, `.jsx`, and `.tsx` files with the appropriate processors, because we're helpful like that.
|
|
23
27
|
|
|
24
28
|
## Legacy Config
|
|
25
29
|
|
|
@@ -35,4 +39,4 @@ The recommended config automatically handles `.js`, `.ts`, `.jsx`, and `.tsx` fi
|
|
|
35
39
|
}
|
|
36
40
|
```
|
|
37
41
|
|
|
38
|
-
**Note:** Reads from `.eslint-warnings-cache.json
|
|
42
|
+
**Note:** Reads from `.eslint-warnings-cache.json`, created by `@vibelint/vibelint-wizard`, the tool where you decide which warnings to ignore forever.
|