cursor-lint 0.11.0 → 0.11.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/README.md +4 -4
- package/package.json +5 -4
- package/src/cli.js +4 -4
- package/src/generate.js +1 -1
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ Every check in cursor-lint comes from [actual experiments](https://dev.to/nedcod
|
|
|
121
121
|
|
|
122
122
|
## Need a deeper review?
|
|
123
123
|
|
|
124
|
-
cursor-lint catches structural issues. For a full review of your rules, project structure, and model settings, I offer [$50 async setup audits](https://
|
|
124
|
+
cursor-lint catches structural issues. For a full review of your rules, project structure, and model settings, I offer [$50 async setup audits](https://nedcodes.gumroad.com/l/cursor-setup-audit). You get a written report with specific fixes, not generic advice.
|
|
125
125
|
|
|
126
126
|
## License
|
|
127
127
|
|
|
@@ -129,12 +129,12 @@ MIT
|
|
|
129
129
|
|
|
130
130
|
---
|
|
131
131
|
|
|
132
|
-
Made by [nedcodes](https://dev.to/nedcodes) · [Free rules collection](https://github.com/
|
|
132
|
+
Made by [nedcodes](https://dev.to/nedcodes) · [Free rules collection](https://github.com/nedcodes-ok/cursorrules-collection) · [Setup audits](https://nedcodes.gumroad.com/l/cursor-setup-audit)
|
|
133
133
|
|
|
134
134
|
---
|
|
135
135
|
|
|
136
136
|
## Related
|
|
137
137
|
|
|
138
|
-
- [cursorrules-collection](https://github.com/
|
|
139
|
-
- [Cursor Setup Audit](https://
|
|
138
|
+
- [cursorrules-collection](https://github.com/nedcodes-ok/cursorrules-collection) — 104 free .mdc rules
|
|
139
|
+
- [Cursor Setup Audit](https://nedcodes.gumroad.com/l/cursor-setup-audit) — Professional review of your rules setup ($50)
|
|
140
140
|
- [Articles on Dev.to](https://dev.to/nedcodes) — Guides on writing effective Cursor rules
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cursor-lint",
|
|
3
|
-
"version": "0.11.
|
|
4
|
-
"description": "Lint your Cursor rules
|
|
3
|
+
"version": "0.11.1",
|
|
4
|
+
"description": "Lint your Cursor rules — catch common mistakes before they break your workflow",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cursor-lint": "src/cli.js"
|
|
@@ -21,9 +21,10 @@
|
|
|
21
21
|
],
|
|
22
22
|
"author": "nedcodes",
|
|
23
23
|
"license": "MIT",
|
|
24
|
+
"homepage": "https://github.com/nedcodes-ok/cursor-lint",
|
|
24
25
|
"repository": {
|
|
25
26
|
"type": "git",
|
|
26
|
-
"url": "https://github.com/
|
|
27
|
+
"url": "https://github.com/nedcodes-ok/cursor-lint.git"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
29
30
|
"node": ">=16"
|
|
@@ -31,4 +32,4 @@
|
|
|
31
32
|
"files": [
|
|
32
33
|
"src/"
|
|
33
34
|
]
|
|
34
|
-
}
|
|
35
|
+
}
|
package/src/cli.js
CHANGED
|
@@ -70,7 +70,7 @@ ${YELLOW}Examples:${RESET}
|
|
|
70
70
|
npx cursor-lint --generate # Download community rules for your stack
|
|
71
71
|
|
|
72
72
|
${YELLOW}More info:${RESET}
|
|
73
|
-
https://github.com/
|
|
73
|
+
https://github.com/nedcodes-ok/cursor-lint
|
|
74
74
|
`);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -432,10 +432,10 @@ async function main() {
|
|
|
432
432
|
console.log(parts.join(', ') + '\n');
|
|
433
433
|
|
|
434
434
|
if (totalErrors > 0) {
|
|
435
|
-
console.log(`${DIM}
|
|
436
|
-
console.log(`${CYAN}
|
|
435
|
+
console.log(`${DIM}Try ${CYAN}cursor-lint --fix${RESET}${DIM} to auto-repair frontmatter issues.${RESET}`);
|
|
436
|
+
console.log(`${DIM}Run ${CYAN}cursor-lint --order${RESET}${DIM} to check which rules are actually loading.${RESET}\n`);
|
|
437
437
|
} else if (totalPassed > 0) {
|
|
438
|
-
console.log(`${DIM}If cursor-lint saved you time: ${CYAN}https://github.com/
|
|
438
|
+
console.log(`${DIM}If cursor-lint saved you time: ${CYAN}https://github.com/nedcodes-ok/cursor-lint${RESET} ${DIM}(⭐ helps others find it)${RESET}\n`);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
process.exit(totalErrors > 0 ? 1 : 0);
|
package/src/generate.js
CHANGED
|
@@ -2,7 +2,7 @@ const fs = require('fs');
|
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const https = require('https');
|
|
4
4
|
|
|
5
|
-
const BASE_URL = 'https://raw.githubusercontent.com/
|
|
5
|
+
const BASE_URL = 'https://raw.githubusercontent.com/nedcodes-ok/cursorrules-collection/main/rules-mdc/';
|
|
6
6
|
|
|
7
7
|
// package.json dependencies → rule files
|
|
8
8
|
const PKG_DEP_MAP = {
|