qualm-a11y 1.0.0 → 1.0.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/README.md +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# qualm
|
|
1
|
+
# qualm-a11y
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/qualm)
|
|
3
|
+
[](https://www.npmjs.com/package/qualm-a11y)
|
|
4
4
|
[](https://doi.org/10.5281/zenodo.20482307)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
[](https://github.com/SomilKSharma/qualm/actions)
|
|
@@ -49,22 +49,22 @@ Options:
|
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
51
|
# Analyse a single file
|
|
52
|
-
qualm src/components/Button.tsx
|
|
52
|
+
qualm-a11y src/components/Button.tsx
|
|
53
53
|
|
|
54
54
|
# Analyse entire src directory, JSON output
|
|
55
|
-
qualm src/ --format json --output results.json
|
|
55
|
+
qualm-a11y src/ --format json --output results.json
|
|
56
56
|
|
|
57
57
|
# SARIF output for GitHub Code Scanning
|
|
58
|
-
qualm src/ --format sarif --output results.sarif
|
|
58
|
+
qualm-a11y src/ --format sarif --output results.sarif
|
|
59
59
|
|
|
60
60
|
# Detect regressions vs main branch
|
|
61
|
-
qualm src/ --diff-branch main
|
|
61
|
+
qualm-a11y src/ --diff-branch main
|
|
62
62
|
|
|
63
63
|
# Fail CI on warnings too
|
|
64
|
-
qualm src/ --fail-on warning
|
|
64
|
+
qualm-a11y src/ --fail-on warning
|
|
65
65
|
|
|
66
66
|
# Research mode — Sharma (2026) taxonomy table
|
|
67
|
-
qualm src/ --research-mode
|
|
67
|
+
qualm-a11y src/ --research-mode
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
---
|
|
@@ -107,7 +107,7 @@ qualm's semantic score is computed using these β values as weights — `documen
|
|
|
107
107
|
## `--research-mode` Output
|
|
108
108
|
|
|
109
109
|
```
|
|
110
|
-
qualm Research Mode — Sharma (2026) Taxonomy
|
|
110
|
+
qualm-a11y Research Mode — Sharma (2026) Taxonomy
|
|
111
111
|
|
|
112
112
|
────────────────────────────────────────────────────────────────────────────────
|
|
113
113
|
Category | Violations | β (paper) | Weighted Score
|
|
@@ -143,14 +143,14 @@ jobs:
|
|
|
143
143
|
fetch-depth: 0 # needed for --diff-branch
|
|
144
144
|
|
|
145
145
|
- name: Run qualm
|
|
146
|
-
run: npx qualm src/ --diff-branch main --fail-on error
|
|
146
|
+
run: npx qualm-a11y src/ --diff-branch main --fail-on error
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
For SARIF upload to GitHub Code Scanning:
|
|
150
150
|
|
|
151
151
|
```yaml
|
|
152
152
|
- name: Run qualm (SARIF)
|
|
153
|
-
run: npx qualm src/ --format sarif --output qualm.sarif || true
|
|
153
|
+
run: npx qualm-a11y src/ --format sarif --output qualm.sarif || true
|
|
154
154
|
|
|
155
155
|
- name: Upload SARIF
|
|
156
156
|
uses: github/codeql-action/upload-sarif@v3
|
package/package.json
CHANGED