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 +12 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +4 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/package.json +59 -0
- package/src/cli.ts +4 -0
- package/src/index.ts +1 -0
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 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|
package/dist/cli.js
ADDED
package/dist/index.d.ts
ADDED
|
@@ -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
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const version = '0.0.1'
|