eslint-config-aether 3.2.3 → 3.3.0
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 +1 -1
- package/dist/index.js +24 -3
- package/package.json +43 -32
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import { defineConfig } from "eslint/config";
|
|
|
4
4
|
// src/base.ts
|
|
5
5
|
import js from "@eslint/js";
|
|
6
6
|
import stylistic from "@stylistic/eslint-plugin";
|
|
7
|
+
import jsdoc from "eslint-plugin-jsdoc";
|
|
7
8
|
import globals from "globals";
|
|
8
9
|
var base_default = {
|
|
9
10
|
files: [
|
|
@@ -12,7 +13,13 @@ var base_default = {
|
|
|
12
13
|
],
|
|
13
14
|
plugins: {
|
|
14
15
|
"@stylistic": stylistic,
|
|
15
|
-
js
|
|
16
|
+
js,
|
|
17
|
+
jsdoc
|
|
18
|
+
},
|
|
19
|
+
settings: {
|
|
20
|
+
jsdoc: {
|
|
21
|
+
maxLines: 2
|
|
22
|
+
}
|
|
16
23
|
},
|
|
17
24
|
languageOptions: {
|
|
18
25
|
globals: {
|
|
@@ -58,6 +65,7 @@ var base_default = {
|
|
|
58
65
|
"args": "none",
|
|
59
66
|
"caughtErrors": "none"
|
|
60
67
|
}],
|
|
68
|
+
"no-useless-assignment": "warn",
|
|
61
69
|
"no-var": "error",
|
|
62
70
|
"prefer-const": "warn",
|
|
63
71
|
"yoda": ["warn", "never"],
|
|
@@ -75,6 +83,7 @@ var base_default = {
|
|
|
75
83
|
"@stylistic/indent": ["warn", "tab", {
|
|
76
84
|
"SwitchCase": 1
|
|
77
85
|
}],
|
|
86
|
+
"@stylistic/indent-binary-ops": ["warn", "tab"],
|
|
78
87
|
"@stylistic/key-spacing": "warn",
|
|
79
88
|
"@stylistic/keyword-spacing": ["warn", {
|
|
80
89
|
"overrides": {
|
|
@@ -88,6 +97,10 @@ var base_default = {
|
|
|
88
97
|
"@stylistic/lines-between-class-members": ["warn", "always", {
|
|
89
98
|
"exceptAfterSingleLine": true
|
|
90
99
|
}],
|
|
100
|
+
"@stylistic/lines-around-comment": ["warn", {
|
|
101
|
+
"beforeBlockComment": true,
|
|
102
|
+
"afterBlockComment": true
|
|
103
|
+
}],
|
|
91
104
|
"@stylistic/max-len": ["warn", {
|
|
92
105
|
"code": 120,
|
|
93
106
|
"tabWidth": 2,
|
|
@@ -115,9 +128,17 @@ var base_default = {
|
|
|
115
128
|
"@stylistic/space-in-parens": ["warn", "never"],
|
|
116
129
|
"@stylistic/space-infix-ops": "warn",
|
|
117
130
|
"@stylistic/space-unary-ops": "warn",
|
|
118
|
-
"@stylistic/spaced-comment": ["warn", "always"
|
|
131
|
+
"@stylistic/spaced-comment": ["warn", "always", {
|
|
132
|
+
"block": { "balanced": true }
|
|
133
|
+
}],
|
|
119
134
|
"@stylistic/type-generic-spacing": "warn",
|
|
120
|
-
"@stylistic/wrap-iife": "warn"
|
|
135
|
+
"@stylistic/wrap-iife": "warn",
|
|
136
|
+
"jsdoc/check-alignment": "warn",
|
|
137
|
+
"jsdoc/check-line-alignment": ["warn", "always"],
|
|
138
|
+
"jsdoc/require-jsdoc": "off",
|
|
139
|
+
"jsdoc/tag-lines": ["warn", "any", {
|
|
140
|
+
"startLines": 1
|
|
141
|
+
}]
|
|
121
142
|
}
|
|
122
143
|
};
|
|
123
144
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-aether",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "A custom code style for ESLint.",
|
|
5
|
-
"homepage": "https://github.com/vanruesc/eslint-config-aether",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
5
|
"license": "Zlib",
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Raoul van Rüschen",
|
|
8
|
+
"email": "vanruesc@outlook.de"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/vanruesc/eslint-config-aether",
|
|
11
|
+
"repository": {
|
|
12
|
+
"url": "git+https://github.com/vanruesc/eslint-config-aether.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/vanruesc/eslint-config-aether/issues"
|
|
14
16
|
},
|
|
15
17
|
"keywords": [
|
|
16
18
|
"eslint",
|
|
@@ -23,38 +25,47 @@
|
|
|
23
25
|
"typescript",
|
|
24
26
|
"ts"
|
|
25
27
|
],
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/vanruesc/eslint-config-aether/issues"
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "./dist/index.js",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/types/index.d.ts",
|
|
33
|
+
"default": "./dist/index.js"
|
|
34
|
+
}
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">= 22.22.2"
|
|
41
|
+
},
|
|
42
|
+
"devEngines": {
|
|
43
|
+
"packageManager": {
|
|
44
|
+
"name": "pnpm",
|
|
45
|
+
"version": ">=12 <13",
|
|
46
|
+
"onFail": "error"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
39
49
|
"peerDependencies": {
|
|
40
|
-
"eslint": "10
|
|
50
|
+
"eslint": ">=10 <11"
|
|
41
51
|
},
|
|
42
52
|
"dependencies": {
|
|
43
|
-
"@eslint/core": "1.
|
|
44
|
-
"@eslint/js": "10.
|
|
45
|
-
"@stylistic/eslint-plugin": "5.
|
|
46
|
-
"
|
|
47
|
-
"
|
|
53
|
+
"@eslint/core": "^1.2.1",
|
|
54
|
+
"@eslint/js": "^10.0.1",
|
|
55
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
56
|
+
"eslint-plugin-jsdoc": "^65.4.4",
|
|
57
|
+
"globals": "^17.14.0",
|
|
58
|
+
"typescript-eslint": "^8.72.1"
|
|
48
59
|
},
|
|
49
60
|
"devDependencies": {
|
|
50
|
-
"@types/node": "26.
|
|
51
|
-
"del-cli": "
|
|
52
|
-
"esbuild": "0.28.
|
|
53
|
-
"native-copyfiles": "2.
|
|
54
|
-
"npm-run-all": "4.
|
|
55
|
-
"tslib": "2.
|
|
56
|
-
"tsx": "4.
|
|
57
|
-
"typescript": "6.0.
|
|
61
|
+
"@types/node": "^26.6.6",
|
|
62
|
+
"del-cli": "^8.0.1",
|
|
63
|
+
"esbuild": "^0.28.2",
|
|
64
|
+
"native-copyfiles": "^2.1.1",
|
|
65
|
+
"npm-run-all": "^4.1.5",
|
|
66
|
+
"tslib": "^2.9.1",
|
|
67
|
+
"tsx": "^4.23.15",
|
|
68
|
+
"typescript": "^6.0.3"
|
|
58
69
|
},
|
|
59
70
|
"scripts": {
|
|
60
71
|
"build": "node esbuild",
|