@pragmatiks/lint 0.3.4 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## js-v0.4.1 (2026-07-30)
4
+
5
+ ### Bug Fixes
6
+
7
+ - **js**: declare the pnpm workspace packages field
8
+
9
+ ## js-v0.4.0 (2026-07-30)
10
+
11
+ ### Features
12
+
13
+ - **rules**: flag db_* and *_db compounds in the abbreviation rule
14
+
3
15
  ## js-v0.3.4 (2026-05-25)
4
16
 
5
17
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pragmatiks/lint",
3
- "version": "0.3.4",
3
+ "version": "0.4.1",
4
4
  "description": "Pragmatiks engineering principles eslint config and bundled semgrep rules.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,7 +15,7 @@ rules:
15
15
  - pattern: self.$NAME = $VALUE
16
16
  - metavariable-regex:
17
17
  metavariable: $NAME
18
- regex: '^(k8s|cfg|db|req|res|ctx|tmp|pkg|svc|mgr|repo|usr|pwd|idx|cnt|msg|err|btn|txt|num|val)$'
18
+ regex: '^(k8s|cfg|req|res|ctx|tmp|pkg|svc|mgr|repo|usr|pwd|idx|cnt|msg|err|btn|txt|num|val)$|^_*db(_\w+)?$|^\w*_db$'
19
19
  message: "principle #11 Abbreviated identifier hides meaning. Rename it with full words."
20
20
  severity: WARNING
21
21
  languages: [python]