@d3lm/lint-preset 1.5.6 → 1.6.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 +37 -10
- package/dist/bin/comments.js +542 -114
- package/dist/bin/comments.js.map +1 -1
- package/dist/comments.cjs +447 -69
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.d.cts +51 -25
- package/dist/comments.d.ts +51 -25
- package/dist/comments.js +449 -73
- package/dist/comments.js.map +1 -1
- package/native/comments.darwin-arm64.node +0 -0
- package/native/comments.darwin-x64.node +0 -0
- package/native/comments.linux-arm64-gnu.node +0 -0
- package/native/comments.linux-x64-gnu.node +0 -0
- package/package.json +9 -6
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d3lm/lint-preset",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Opinionated Oxlint + ESLint preset. Oxlint handles non-type-aware rules, while ESLint layers only type-aware rules not covered by Oxlint on top.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"packageManager": "pnpm@10.30.3",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "tsup",
|
|
14
|
-
"
|
|
15
|
-
"test:
|
|
13
|
+
"build": "pnpm run build:native && tsup",
|
|
14
|
+
"build:native": "napi build --platform --release --manifest-path native/Cargo.toml --config-path native/napi.json --output-dir native --no-js --dts comments.d.ts",
|
|
15
|
+
"test": "pnpm run build:native && vitest run",
|
|
16
|
+
"test:watch": "pnpm run build:native && vitest",
|
|
16
17
|
"check": "tsc --noEmit",
|
|
17
18
|
"lint": "pnpm run build && oxlint && eslint",
|
|
18
19
|
"lint:fix": "pnpm run build && oxlint --fix && eslint --fix",
|
|
19
|
-
"prepublishOnly": "
|
|
20
|
+
"prepublishOnly": "tsup && node native/check-binaries.mjs"
|
|
20
21
|
},
|
|
21
22
|
"exports": {
|
|
22
23
|
"./eslint": {
|
|
@@ -44,7 +45,8 @@
|
|
|
44
45
|
"comments": "./dist/bin/comments.js"
|
|
45
46
|
},
|
|
46
47
|
"files": [
|
|
47
|
-
"dist"
|
|
48
|
+
"dist",
|
|
49
|
+
"native/*.node"
|
|
48
50
|
],
|
|
49
51
|
"keywords": [
|
|
50
52
|
"eslint",
|
|
@@ -76,6 +78,7 @@
|
|
|
76
78
|
}
|
|
77
79
|
},
|
|
78
80
|
"devDependencies": {
|
|
81
|
+
"@napi-rs/cli": "^3.10.12",
|
|
79
82
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
80
83
|
"@types/common-tags": "^1.8.4",
|
|
81
84
|
"@types/eslint": "^9.6.1",
|