lintcn 0.0.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 ADDED
@@ -0,0 +1,12 @@
1
+ # lintcn
2
+
3
+ The [shadcn](https://ui.shadcn.com) for type-aware TypeScript lint rules.
4
+
5
+ Browse rules, pick the ones you need, copy them into your project. You own the code.
6
+
7
+ ## Coming soon
8
+
9
+ ```bash
10
+ npx lintcn add no-floating-promises
11
+ npx lintcn add no-unused-result
12
+ ```
package/dist/cli.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
package/dist/cli.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ console.log('lintcn - the shadcn for type-aware TypeScript lint rules');
3
+ console.log('coming soon: npx lintcn add <rule-name>');
4
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const version = "0.0.1";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export const version = '0.0.1';
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "lintcn",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "The shadcn for type-aware TypeScript lint rules. Browse, pick, and copy rules into your project.",
6
+ "bin": "dist/cli.js",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ "./package.json": "./package.json",
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./src": {
16
+ "types": "./src/index.ts",
17
+ "default": "./src/index.ts"
18
+ },
19
+ "./src/*": {
20
+ "types": "./src/*.ts",
21
+ "default": "./src/*.ts"
22
+ }
23
+ },
24
+ "files": [
25
+ "src",
26
+ "dist",
27
+ "README.md"
28
+ ],
29
+ "scripts": {
30
+ "build": "rm -rf dist *.tsbuildinfo && tsc && chmod +x dist/cli.js",
31
+ "prepublishOnly": "pnpm build"
32
+ },
33
+ "keywords": [
34
+ "lint",
35
+ "linter",
36
+ "typescript",
37
+ "tsgolint",
38
+ "oxlint",
39
+ "type-aware",
40
+ "shadcn",
41
+ "rules",
42
+ "copy-paste",
43
+ "cli"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/remorses/lintcn",
48
+ "directory": "."
49
+ },
50
+ "homepage": "https://lintcn.dev",
51
+ "bugs": {
52
+ "url": "https://github.com/remorses/lintcn/issues"
53
+ },
54
+ "license": "MIT",
55
+ "devDependencies": {
56
+ "typescript": "5.8.2",
57
+ "@types/node": "^22.0.0"
58
+ }
59
+ }
package/src/cli.ts ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ console.log('lintcn - the shadcn for type-aware TypeScript lint rules')
4
+ console.log('coming soon: npx lintcn add <rule-name>')
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export const version = '0.0.1'