@egy186/eslint-config 4.4.1 → 4.4.2
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/dist/typescript.d.ts +9 -0
- package/dist/typescript.js +16 -0
- package/package.json +1 -1
package/dist/typescript.d.ts
CHANGED
|
@@ -58,6 +58,11 @@ declare const config: {
|
|
|
58
58
|
readonly leadingUnderscore: "require";
|
|
59
59
|
readonly modifiers: readonly ["private"];
|
|
60
60
|
readonly selector: "memberLike";
|
|
61
|
+
}, {
|
|
62
|
+
readonly format: readonly ["camelCase"];
|
|
63
|
+
readonly leadingUnderscore: "allow";
|
|
64
|
+
readonly modifiers: readonly ["protected"];
|
|
65
|
+
readonly selector: "memberLike";
|
|
61
66
|
}, {
|
|
62
67
|
readonly format: readonly ["PascalCase"];
|
|
63
68
|
readonly selector: "typeLike";
|
|
@@ -216,6 +221,10 @@ declare const config: {
|
|
|
216
221
|
readonly typescript: true;
|
|
217
222
|
};
|
|
218
223
|
readonly n: {
|
|
224
|
+
readonly convertPath: readonly [{
|
|
225
|
+
readonly include: readonly ["src/bin/**/*.ts", "src/bin/**/*.mts", "src/bin/**/*.tsx"];
|
|
226
|
+
readonly replace: readonly ["^src/bin/(.+)$", "bin/$1"];
|
|
227
|
+
}];
|
|
219
228
|
readonly typescriptExtensionMap: readonly [readonly [".ts", ".js"], readonly [".mts", ".mjs"], readonly [".tsx", ".js"]];
|
|
220
229
|
};
|
|
221
230
|
};
|
package/dist/typescript.js
CHANGED
|
@@ -66,6 +66,12 @@ const config = {
|
|
|
66
66
|
modifiers: ['private'],
|
|
67
67
|
selector: 'memberLike'
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
format: ['camelCase'],
|
|
71
|
+
leadingUnderscore: 'allow',
|
|
72
|
+
modifiers: ['protected'],
|
|
73
|
+
selector: 'memberLike'
|
|
74
|
+
},
|
|
69
75
|
{
|
|
70
76
|
format: ['PascalCase'],
|
|
71
77
|
selector: 'typeLike'
|
|
@@ -227,6 +233,16 @@ const config = {
|
|
|
227
233
|
},
|
|
228
234
|
'import/resolver': { typescript: true },
|
|
229
235
|
n: {
|
|
236
|
+
convertPath: [
|
|
237
|
+
{
|
|
238
|
+
include: [
|
|
239
|
+
'src/bin/**/*.ts',
|
|
240
|
+
'src/bin/**/*.mts',
|
|
241
|
+
'src/bin/**/*.tsx'
|
|
242
|
+
],
|
|
243
|
+
replace: ['^src/bin/(.+)$', 'bin/$1']
|
|
244
|
+
}
|
|
245
|
+
],
|
|
230
246
|
typescriptExtensionMap: [
|
|
231
247
|
['.ts', '.js'],
|
|
232
248
|
['.mts', '.mjs'],
|