@fabriziosalmi/slopless 1.7.0 → 1.7.1
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/dist/engine/api.js +124 -122
- package/dist/index.js +152 -150
- package/package.json +1 -1
- package/rules/VBC-059.yaml +22 -0
package/package.json
CHANGED
package/rules/VBC-059.yaml
CHANGED
|
@@ -8,6 +8,28 @@ match:
|
|
|
8
8
|
ast_check:
|
|
9
9
|
type: file-length-limit
|
|
10
10
|
threshold: 500
|
|
11
|
+
# Code files. A long piece of documentation is not a module that wants
|
|
12
|
+
# splitting, and telling a README to become smaller modules is nonsense.
|
|
13
|
+
file_types:
|
|
14
|
+
- js
|
|
15
|
+
- ts
|
|
16
|
+
- tsx
|
|
17
|
+
- jsx
|
|
18
|
+
- py
|
|
19
|
+
- go
|
|
20
|
+
- rs
|
|
21
|
+
- java
|
|
22
|
+
- c
|
|
23
|
+
- cpp
|
|
24
|
+
- cs
|
|
25
|
+
- kt
|
|
26
|
+
- swift
|
|
27
|
+
- rb
|
|
28
|
+
- sh
|
|
29
|
+
- php
|
|
30
|
+
- css
|
|
31
|
+
- scss
|
|
32
|
+
- less
|
|
11
33
|
message: >-
|
|
12
34
|
File is too long ({count} lines). Consider splitting it into smaller modules. Max recommended:
|
|
13
35
|
{threshold}.
|