redlint 5.3.0 → 5.3.2

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/ChangeLog CHANGED
@@ -1,3 +1,13 @@
1
+ 2026.01.28, v5.3.2
2
+
3
+ feature:
4
+ - 8fc14f3 redlint: @putout/cli-choose v4.0.0
5
+
6
+ 2026.01.24, v5.3.1
7
+
8
+ feature:
9
+ - ddcb2dd redlint: -v: add support
10
+
1
11
  2026.01.24, v5.3.0
2
12
 
3
13
  feature:
package/README.md CHANGED
@@ -73,12 +73,15 @@ To add new rule `create-file` located in plugin `custom` for **RedLint** write a
73
73
 
74
74
  ## Test
75
75
 
76
- - ✅ [get fiture names from `index.spec.js`](https://putout.cloudcmd.io/#/gist/558b38ed5e5e662706f1b8a49a0157a1/8e188e99798246263dbf488b86dc250b8dfa1be3).
76
+ - ✅ [get fixture names from `index.spec.js`](https://putout.cloudcmd.io/#/gist/558b38ed5e5e662706f1b8a49a0157a1/8e188e99798246263dbf488b86dc250b8dfa1be3).
77
77
  - ✅ [init fixture](https://putout.cloudcmd.io/#/gist/e7614e03b3292a210cfc63265718e955/13ccc3a90a8d9ff28f26474b107c5652928e8d0a);
78
78
  - ✅ [read fixture](https://putout.cloudcmd.io/#/gist/f8ab318fa1963508322031483d988ad4/b152c5f796bfab9aa74594c847ddbd1f650efb83);
79
79
  - ✅ [run plugin](https://putout.cloudcmd.io/#/gist/8e66e45753dbe9e746c797813eb2723a/9855f9aea57f345492c629c65d9972309d250a91);
80
80
  - ✅ [get file name with content](https://putout.cloudcmd.io/#/gist/30721329e845f61c0c6105105bdffbdc);
81
81
 
82
+ When you writing a rule for **RedLint** you can run tests with `redlint test`.
83
+ Here is how it looks like: <img width="393" height="290" alt="image" src="https://github.com/user-attachments/assets/17f3bbb2-98aa-415e-b8e3-2065fef87261" />
84
+
82
85
  ## License
83
86
 
84
87
  MIT
package/lib/menu.js CHANGED
@@ -43,7 +43,7 @@ export const isExtractDebug = (a) => a === EXTRACT_DEBUG || a === 'extract:debug
43
43
  export const isGenerate = (a) => a === GENERATE || a === 'generate';
44
44
  export const isGenerateSimple = (a) => a === GENERATE_SIMPLE || a === 'generate:simple';
45
45
  export const isHelp = (a) => a === HELP || a === 'help';
46
- export const isVersion = (a) => a === VERSION || a === 'version';
46
+ export const isVersion = (a) => a === VERSION || a === 'version' || a === '-v';
47
47
  export const isTest = (a) => a === TEST || a === 'test';
48
48
  export const isDebug = (a) => a === DEBUG || a === 'debug';
49
49
  export const isBack = (a) => a === BACK || a === 'back';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redlint",
3
- "version": "5.3.0",
3
+ "version": "5.3.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Lint Filesystem with 🐊Putout",
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@putout/babel": "^5.2.3",
34
34
  "@putout/bundler": "^4.0.0",
35
- "@putout/cli-choose": "^3.0.0",
35
+ "@putout/cli-choose": "^4.0.0",
36
36
  "@putout/cli-filesystem": "^3.0.0",
37
37
  "@putout/engine-runner": "^27.0.0",
38
38
  "@putout/formatter-codeframe": "^10.0.0",