@tb-dev/eslint-config 3.3.1 → 3.3.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/index.cjs +7 -11
- package/dist/index.js +7 -11
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -349,20 +349,16 @@ async function typescript(options) {
|
|
|
349
349
|
"@typescript-eslint/naming-convention": [
|
|
350
350
|
"error",
|
|
351
351
|
{
|
|
352
|
-
selector: [
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
"parameterProperty",
|
|
359
|
-
"variable"
|
|
360
|
-
],
|
|
361
|
-
format: ["camelCase"]
|
|
352
|
+
selector: ["classProperty", "variable"],
|
|
353
|
+
format: ["strictCamelCase", "UPPER_CASE"]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
selector: ["classicAccessor", "classMethod", "function", "parameter", "parameterProperty"],
|
|
357
|
+
format: ["strictCamelCase"]
|
|
362
358
|
},
|
|
363
359
|
{
|
|
364
360
|
selector: ["class", "enum", "enumMember", "interface", "typeAlias", "typeParameter"],
|
|
365
|
-
format: ["
|
|
361
|
+
format: ["StrictPascalCase"]
|
|
366
362
|
}
|
|
367
363
|
],
|
|
368
364
|
"@typescript-eslint/no-array-delete": "error",
|
package/dist/index.js
CHANGED
|
@@ -326,20 +326,16 @@ async function typescript(options) {
|
|
|
326
326
|
"@typescript-eslint/naming-convention": [
|
|
327
327
|
"error",
|
|
328
328
|
{
|
|
329
|
-
selector: [
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
"parameterProperty",
|
|
336
|
-
"variable"
|
|
337
|
-
],
|
|
338
|
-
format: ["camelCase"]
|
|
329
|
+
selector: ["classProperty", "variable"],
|
|
330
|
+
format: ["strictCamelCase", "UPPER_CASE"]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
selector: ["classicAccessor", "classMethod", "function", "parameter", "parameterProperty"],
|
|
334
|
+
format: ["strictCamelCase"]
|
|
339
335
|
},
|
|
340
336
|
{
|
|
341
337
|
selector: ["class", "enum", "enumMember", "interface", "typeAlias", "typeParameter"],
|
|
342
|
-
format: ["
|
|
338
|
+
format: ["StrictPascalCase"]
|
|
343
339
|
}
|
|
344
340
|
],
|
|
345
341
|
"@typescript-eslint/no-array-delete": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"prettier": "^3.2.5",
|
|
38
38
|
"tslib": "^2.6.2",
|
|
39
39
|
"typescript": "^5.4.3",
|
|
40
|
-
"vite": "^5.2.
|
|
41
|
-
"vite-plugin-dts": "^3.8.
|
|
40
|
+
"vite": "^5.2.7",
|
|
41
|
+
"vite-plugin-dts": "^3.8.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^8.57.0",
|