@isentinel/eslint-config 0.7.2 → 0.7.3
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 +10 -10
- package/dist/{chunk-NI656Y5M.js → chunk-NKAA53II.js} +2 -2
- package/dist/cli.cjs +30 -30
- package/dist/cli.js +31 -31
- package/dist/index.cjs +58 -54
- package/dist/index.d.cts +1048 -701
- package/dist/index.d.ts +1048 -701
- package/dist/index.js +56 -52
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -127,16 +127,16 @@ Add the following settings to your `.vscode/settings.json`:
|
|
|
127
127
|
|
|
128
128
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
129
129
|
"eslint.rules.customizations": [
|
|
130
|
-
{ "rule": "style/*", "severity": "off" },
|
|
131
|
-
{ "rule": "format/*", "severity": "off" },
|
|
132
|
-
{ "rule": "*-indent", "severity": "off" },
|
|
133
|
-
{ "rule": "*-spacing", "severity": "off" },
|
|
134
|
-
{ "rule": "*-spaces", "severity": "off" },
|
|
135
|
-
{ "rule": "*-order", "severity": "off" },
|
|
136
|
-
{ "rule": "*-dangle", "severity": "off" },
|
|
137
|
-
{ "rule": "*-newline", "severity": "off" },
|
|
138
|
-
{ "rule": "*quotes", "severity": "off" },
|
|
139
|
-
{ "rule": "*semi", "severity": "off" }
|
|
130
|
+
{ "rule": "style/*", "severity": "off", "fixable": true },
|
|
131
|
+
{ "rule": "format/*", "severity": "off", "fixable": true },
|
|
132
|
+
{ "rule": "*-indent", "severity": "off", "fixable": true },
|
|
133
|
+
{ "rule": "*-spacing", "severity": "off", "fixable": true },
|
|
134
|
+
{ "rule": "*-spaces", "severity": "off", "fixable": true },
|
|
135
|
+
{ "rule": "*-order", "severity": "off", "fixable": true },
|
|
136
|
+
{ "rule": "*-dangle", "severity": "off", "fixable": true },
|
|
137
|
+
{ "rule": "*-newline", "severity": "off", "fixable": true },
|
|
138
|
+
{ "rule": "*quotes", "severity": "off", "fixable": true },
|
|
139
|
+
{ "rule": "*semi", "severity": "off", "fixable": true }
|
|
140
140
|
],
|
|
141
141
|
|
|
142
142
|
// Enable eslint for all supported languages
|
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/tsup@8.1.
|
|
30
|
+
// node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"node_modules/.pnpm/tsup@8.1.
|
|
32
|
+
"node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
"use strict";
|
|
34
34
|
}
|
|
35
35
|
});
|
package/dist/cli.cjs
CHANGED
|
@@ -37,7 +37,7 @@ var import_helpers = require("yargs/helpers");
|
|
|
37
37
|
// package.json
|
|
38
38
|
var package_default = {
|
|
39
39
|
name: "@isentinel/eslint-config",
|
|
40
|
-
version: "0.7.
|
|
40
|
+
version: "0.7.3",
|
|
41
41
|
description: "iSentinel's ESLint config",
|
|
42
42
|
keywords: [
|
|
43
43
|
"eslint-config",
|
|
@@ -87,16 +87,16 @@ var package_default = {
|
|
|
87
87
|
dependencies: {
|
|
88
88
|
"@antfu/install-pkg": "0.3.3",
|
|
89
89
|
"@clack/prompts": "0.7.0",
|
|
90
|
-
"@cspell/eslint-plugin": "8.
|
|
90
|
+
"@cspell/eslint-plugin": "8.12.1",
|
|
91
91
|
"@eslint/compat": "1.1.1",
|
|
92
92
|
"@isentinel/dict-rbxts": "1.0.1",
|
|
93
93
|
"@isentinel/dict-roblox": "1.0.3",
|
|
94
94
|
"@isentinel/eslint-plugin-comment-length": "1.7.3",
|
|
95
|
-
"@shopify/eslint-plugin": "
|
|
95
|
+
"@shopify/eslint-plugin": "46.0.0",
|
|
96
96
|
"@stylistic/eslint-plugin": "2.3.0",
|
|
97
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
98
|
-
"@typescript-eslint/parser": "7.
|
|
99
|
-
"eslint-config-flat-gitignore": "0.1.
|
|
97
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
98
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
99
|
+
"eslint-config-flat-gitignore": "0.1.8",
|
|
100
100
|
"eslint-config-prettier": "9.1.0",
|
|
101
101
|
"eslint-flat-config-utils": "0.2.5",
|
|
102
102
|
"eslint-merge-processors": "0.1.0",
|
|
@@ -105,17 +105,17 @@ var package_default = {
|
|
|
105
105
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
106
106
|
"eslint-plugin-format": "0.1.2",
|
|
107
107
|
"eslint-plugin-format-lua": "0.1.0",
|
|
108
|
-
"eslint-plugin-import-x": "3.0
|
|
109
|
-
"eslint-plugin-jsdoc": "48.
|
|
108
|
+
"eslint-plugin-import-x": "3.1.0",
|
|
109
|
+
"eslint-plugin-jsdoc": "48.8.3",
|
|
110
110
|
"eslint-plugin-jsonc": "2.16.0",
|
|
111
111
|
"eslint-plugin-markdown": "5.1.0",
|
|
112
112
|
"eslint-plugin-no-autofix": "2.0.0",
|
|
113
113
|
"eslint-plugin-package-json": "0.15.2",
|
|
114
|
-
"eslint-plugin-perfectionist": "
|
|
115
|
-
"eslint-plugin-promise": "
|
|
116
|
-
"eslint-plugin-sonarjs": "1.0.
|
|
114
|
+
"eslint-plugin-perfectionist": "3.0.0",
|
|
115
|
+
"eslint-plugin-promise": "7.0.0",
|
|
116
|
+
"eslint-plugin-sonarjs": "1.0.4",
|
|
117
117
|
"eslint-plugin-toml": "0.11.1",
|
|
118
|
-
"eslint-plugin-unicorn": "
|
|
118
|
+
"eslint-plugin-unicorn": "55.0.0",
|
|
119
119
|
"eslint-plugin-yml": "1.14.0",
|
|
120
120
|
"isentinel-eslint-plugin-roblox-ts": "0.0.37",
|
|
121
121
|
"jsonc-eslint-parser": "2.4.0",
|
|
@@ -131,18 +131,18 @@ var package_default = {
|
|
|
131
131
|
},
|
|
132
132
|
devDependencies: {
|
|
133
133
|
"@antfu/ni": "0.22.0",
|
|
134
|
-
"@eslint-react/eslint-plugin": "1.
|
|
135
|
-
"@eslint/config-inspector": "0.5.
|
|
134
|
+
"@eslint-react/eslint-plugin": "1.6.0",
|
|
135
|
+
"@eslint/config-inspector": "0.5.2",
|
|
136
136
|
"@isentinel/eslint-config": "workspace:*",
|
|
137
137
|
"@stylistic/eslint-plugin-migrate": "2.3.0",
|
|
138
|
-
"@types/eslint": "8.56.
|
|
138
|
+
"@types/eslint": "8.56.11",
|
|
139
139
|
"@types/fs-extra": "11.0.4",
|
|
140
|
-
"@types/node": "20.14.
|
|
140
|
+
"@types/node": "20.14.12",
|
|
141
141
|
"@types/prompts": "2.4.9",
|
|
142
142
|
"@types/yargs": "17.0.32",
|
|
143
143
|
bumpp: "9.4.1",
|
|
144
144
|
"bundle-require": "5.0.0",
|
|
145
|
-
eslint: "9.
|
|
145
|
+
eslint: "9.8.0",
|
|
146
146
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
147
147
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
148
148
|
"eslint-typegen": "0.2.4",
|
|
@@ -153,8 +153,8 @@ var package_default = {
|
|
|
153
153
|
"lint-staged": "15.2.7",
|
|
154
154
|
rimraf: "6.0.1",
|
|
155
155
|
"simple-git-hooks": "2.11.1",
|
|
156
|
-
tsup: "8.
|
|
157
|
-
typescript: "5.5.
|
|
156
|
+
tsup: "8.2.3",
|
|
157
|
+
typescript: "5.5.4"
|
|
158
158
|
},
|
|
159
159
|
peerDependencies: {
|
|
160
160
|
"@eslint-react/eslint-plugin": "^1.5.27",
|
|
@@ -169,7 +169,7 @@ var package_default = {
|
|
|
169
169
|
optional: true
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
|
-
packageManager: "pnpm@9.
|
|
172
|
+
packageManager: "pnpm@9.6.0",
|
|
173
173
|
publishConfig: {
|
|
174
174
|
access: "public"
|
|
175
175
|
}
|
|
@@ -192,16 +192,16 @@ var vscodeSettingsString = `
|
|
|
192
192
|
|
|
193
193
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
194
194
|
"eslint.rules.customizations": [
|
|
195
|
-
{ "rule": "style/*", "severity": "off" },
|
|
196
|
-
{ "rule": "format/*", "severity": "off" },
|
|
197
|
-
{ "rule": "*-indent", "severity": "off" },
|
|
198
|
-
{ "rule": "*-spacing", "severity": "off" },
|
|
199
|
-
{ "rule": "*-spaces", "severity": "off" },
|
|
200
|
-
{ "rule": "*-order", "severity": "off" },
|
|
201
|
-
{ "rule": "*-dangle", "severity": "off" },
|
|
202
|
-
{ "rule": "*-newline", "severity": "off" },
|
|
203
|
-
{ "rule": "*quotes", "severity": "off" },
|
|
204
|
-
{ "rule": "*semi", "severity": "off" }
|
|
195
|
+
{ "rule": "style/*", "severity": "off", "fixable": true },
|
|
196
|
+
{ "rule": "format/*", "severity": "off", "fixable": true },
|
|
197
|
+
{ "rule": "*-indent", "severity": "off", "fixable": true },
|
|
198
|
+
{ "rule": "*-spacing", "severity": "off", "fixable": true },
|
|
199
|
+
{ "rule": "*-spaces", "severity": "off", "fixable": true },
|
|
200
|
+
{ "rule": "*-order", "severity": "off", "fixable": true },
|
|
201
|
+
{ "rule": "*-dangle", "severity": "off", "fixable": true },
|
|
202
|
+
{ "rule": "*-newline", "severity": "off", "fixable": true },
|
|
203
|
+
{ "rule": "*quotes", "severity": "off", "fixable": true },
|
|
204
|
+
{ "rule": "*semi", "severity": "off", "fixable": true }
|
|
205
205
|
],
|
|
206
206
|
|
|
207
207
|
// Enable eslint for all supported languages
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NKAA53II.js";
|
|
4
4
|
|
|
5
5
|
// src/cli.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -19,7 +19,7 @@ init_esm_shims();
|
|
|
19
19
|
// package.json
|
|
20
20
|
var package_default = {
|
|
21
21
|
name: "@isentinel/eslint-config",
|
|
22
|
-
version: "0.7.
|
|
22
|
+
version: "0.7.3",
|
|
23
23
|
description: "iSentinel's ESLint config",
|
|
24
24
|
keywords: [
|
|
25
25
|
"eslint-config",
|
|
@@ -69,16 +69,16 @@ var package_default = {
|
|
|
69
69
|
dependencies: {
|
|
70
70
|
"@antfu/install-pkg": "0.3.3",
|
|
71
71
|
"@clack/prompts": "0.7.0",
|
|
72
|
-
"@cspell/eslint-plugin": "8.
|
|
72
|
+
"@cspell/eslint-plugin": "8.12.1",
|
|
73
73
|
"@eslint/compat": "1.1.1",
|
|
74
74
|
"@isentinel/dict-rbxts": "1.0.1",
|
|
75
75
|
"@isentinel/dict-roblox": "1.0.3",
|
|
76
76
|
"@isentinel/eslint-plugin-comment-length": "1.7.3",
|
|
77
|
-
"@shopify/eslint-plugin": "
|
|
77
|
+
"@shopify/eslint-plugin": "46.0.0",
|
|
78
78
|
"@stylistic/eslint-plugin": "2.3.0",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
80
|
-
"@typescript-eslint/parser": "7.
|
|
81
|
-
"eslint-config-flat-gitignore": "0.1.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
80
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
81
|
+
"eslint-config-flat-gitignore": "0.1.8",
|
|
82
82
|
"eslint-config-prettier": "9.1.0",
|
|
83
83
|
"eslint-flat-config-utils": "0.2.5",
|
|
84
84
|
"eslint-merge-processors": "0.1.0",
|
|
@@ -87,17 +87,17 @@ var package_default = {
|
|
|
87
87
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
88
88
|
"eslint-plugin-format": "0.1.2",
|
|
89
89
|
"eslint-plugin-format-lua": "0.1.0",
|
|
90
|
-
"eslint-plugin-import-x": "3.0
|
|
91
|
-
"eslint-plugin-jsdoc": "48.
|
|
90
|
+
"eslint-plugin-import-x": "3.1.0",
|
|
91
|
+
"eslint-plugin-jsdoc": "48.8.3",
|
|
92
92
|
"eslint-plugin-jsonc": "2.16.0",
|
|
93
93
|
"eslint-plugin-markdown": "5.1.0",
|
|
94
94
|
"eslint-plugin-no-autofix": "2.0.0",
|
|
95
95
|
"eslint-plugin-package-json": "0.15.2",
|
|
96
|
-
"eslint-plugin-perfectionist": "
|
|
97
|
-
"eslint-plugin-promise": "
|
|
98
|
-
"eslint-plugin-sonarjs": "1.0.
|
|
96
|
+
"eslint-plugin-perfectionist": "3.0.0",
|
|
97
|
+
"eslint-plugin-promise": "7.0.0",
|
|
98
|
+
"eslint-plugin-sonarjs": "1.0.4",
|
|
99
99
|
"eslint-plugin-toml": "0.11.1",
|
|
100
|
-
"eslint-plugin-unicorn": "
|
|
100
|
+
"eslint-plugin-unicorn": "55.0.0",
|
|
101
101
|
"eslint-plugin-yml": "1.14.0",
|
|
102
102
|
"isentinel-eslint-plugin-roblox-ts": "0.0.37",
|
|
103
103
|
"jsonc-eslint-parser": "2.4.0",
|
|
@@ -113,18 +113,18 @@ var package_default = {
|
|
|
113
113
|
},
|
|
114
114
|
devDependencies: {
|
|
115
115
|
"@antfu/ni": "0.22.0",
|
|
116
|
-
"@eslint-react/eslint-plugin": "1.
|
|
117
|
-
"@eslint/config-inspector": "0.5.
|
|
116
|
+
"@eslint-react/eslint-plugin": "1.6.0",
|
|
117
|
+
"@eslint/config-inspector": "0.5.2",
|
|
118
118
|
"@isentinel/eslint-config": "workspace:*",
|
|
119
119
|
"@stylistic/eslint-plugin-migrate": "2.3.0",
|
|
120
|
-
"@types/eslint": "8.56.
|
|
120
|
+
"@types/eslint": "8.56.11",
|
|
121
121
|
"@types/fs-extra": "11.0.4",
|
|
122
|
-
"@types/node": "20.14.
|
|
122
|
+
"@types/node": "20.14.12",
|
|
123
123
|
"@types/prompts": "2.4.9",
|
|
124
124
|
"@types/yargs": "17.0.32",
|
|
125
125
|
bumpp: "9.4.1",
|
|
126
126
|
"bundle-require": "5.0.0",
|
|
127
|
-
eslint: "9.
|
|
127
|
+
eslint: "9.8.0",
|
|
128
128
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
129
129
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
130
130
|
"eslint-typegen": "0.2.4",
|
|
@@ -135,8 +135,8 @@ var package_default = {
|
|
|
135
135
|
"lint-staged": "15.2.7",
|
|
136
136
|
rimraf: "6.0.1",
|
|
137
137
|
"simple-git-hooks": "2.11.1",
|
|
138
|
-
tsup: "8.
|
|
139
|
-
typescript: "5.5.
|
|
138
|
+
tsup: "8.2.3",
|
|
139
|
+
typescript: "5.5.4"
|
|
140
140
|
},
|
|
141
141
|
peerDependencies: {
|
|
142
142
|
"@eslint-react/eslint-plugin": "^1.5.27",
|
|
@@ -151,7 +151,7 @@ var package_default = {
|
|
|
151
151
|
optional: true
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
-
packageManager: "pnpm@9.
|
|
154
|
+
packageManager: "pnpm@9.6.0",
|
|
155
155
|
publishConfig: {
|
|
156
156
|
access: "public"
|
|
157
157
|
}
|
|
@@ -174,16 +174,16 @@ var vscodeSettingsString = `
|
|
|
174
174
|
|
|
175
175
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
176
176
|
"eslint.rules.customizations": [
|
|
177
|
-
{ "rule": "style/*", "severity": "off" },
|
|
178
|
-
{ "rule": "format/*", "severity": "off" },
|
|
179
|
-
{ "rule": "*-indent", "severity": "off" },
|
|
180
|
-
{ "rule": "*-spacing", "severity": "off" },
|
|
181
|
-
{ "rule": "*-spaces", "severity": "off" },
|
|
182
|
-
{ "rule": "*-order", "severity": "off" },
|
|
183
|
-
{ "rule": "*-dangle", "severity": "off" },
|
|
184
|
-
{ "rule": "*-newline", "severity": "off" },
|
|
185
|
-
{ "rule": "*quotes", "severity": "off" },
|
|
186
|
-
{ "rule": "*semi", "severity": "off" }
|
|
177
|
+
{ "rule": "style/*", "severity": "off", "fixable": true },
|
|
178
|
+
{ "rule": "format/*", "severity": "off", "fixable": true },
|
|
179
|
+
{ "rule": "*-indent", "severity": "off", "fixable": true },
|
|
180
|
+
{ "rule": "*-spacing", "severity": "off", "fixable": true },
|
|
181
|
+
{ "rule": "*-spaces", "severity": "off", "fixable": true },
|
|
182
|
+
{ "rule": "*-order", "severity": "off", "fixable": true },
|
|
183
|
+
{ "rule": "*-dangle", "severity": "off", "fixable": true },
|
|
184
|
+
{ "rule": "*-newline", "severity": "off", "fixable": true },
|
|
185
|
+
{ "rule": "*quotes", "severity": "off", "fixable": true },
|
|
186
|
+
{ "rule": "*semi", "severity": "off", "fixable": true }
|
|
187
187
|
],
|
|
188
188
|
|
|
189
189
|
// Enable eslint for all supported languages
|