@vinicunca/eslint-config 2.1.0 → 2.1.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 +5 -3
- package/dist/index.js +5 -3
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -1567,7 +1567,6 @@ async function jsdoc(options = {}) {
|
|
|
1567
1567
|
{
|
|
1568
1568
|
name: "vinicunca:jsdoc",
|
|
1569
1569
|
plugins: {
|
|
1570
|
-
// @ts-expect-error missing types
|
|
1571
1570
|
jsdoc: await interopDefault(import("eslint-plugin-jsdoc"))
|
|
1572
1571
|
},
|
|
1573
1572
|
rules: {
|
|
@@ -2335,7 +2334,8 @@ async function typescript(options = {}) {
|
|
|
2335
2334
|
"ts/no-unused-vars": [ERROR, {
|
|
2336
2335
|
argsIgnorePattern: "^_",
|
|
2337
2336
|
destructuredArrayIgnorePattern: "^_",
|
|
2338
|
-
ignoreRestSiblings: true
|
|
2337
|
+
ignoreRestSiblings: true,
|
|
2338
|
+
varsIgnorePattern: "^_"
|
|
2339
2339
|
}],
|
|
2340
2340
|
"ts/no-use-before-define": [ERROR, { classes: false, functions: false, variables: true }],
|
|
2341
2341
|
"ts/parameter-properties": OFF,
|
|
@@ -2865,7 +2865,8 @@ async function vinicuncaESLint(options = {}, ...userConfigs) {
|
|
|
2865
2865
|
if (enableTypeScript) {
|
|
2866
2866
|
configs.push(typescript({
|
|
2867
2867
|
...resolveSubOptions(options, "typescript"),
|
|
2868
|
-
componentExts
|
|
2868
|
+
componentExts,
|
|
2869
|
+
overrides: getOverrides(options, "typescript")
|
|
2869
2870
|
}));
|
|
2870
2871
|
}
|
|
2871
2872
|
if (stylisticOptions) {
|
|
@@ -2883,6 +2884,7 @@ async function vinicuncaESLint(options = {}, ...userConfigs) {
|
|
|
2883
2884
|
if (enableVue) {
|
|
2884
2885
|
configs.push(vue({
|
|
2885
2886
|
...resolveSubOptions(options, "vue"),
|
|
2887
|
+
overrides: getOverrides(options, "vue"),
|
|
2886
2888
|
stylistic: stylisticOptions,
|
|
2887
2889
|
typescript: !!enableTypeScript
|
|
2888
2890
|
}));
|
package/dist/index.js
CHANGED
|
@@ -1477,7 +1477,6 @@ async function jsdoc(options = {}) {
|
|
|
1477
1477
|
{
|
|
1478
1478
|
name: "vinicunca:jsdoc",
|
|
1479
1479
|
plugins: {
|
|
1480
|
-
// @ts-expect-error missing types
|
|
1481
1480
|
jsdoc: await interopDefault(import("eslint-plugin-jsdoc"))
|
|
1482
1481
|
},
|
|
1483
1482
|
rules: {
|
|
@@ -2245,7 +2244,8 @@ async function typescript(options = {}) {
|
|
|
2245
2244
|
"ts/no-unused-vars": [ERROR, {
|
|
2246
2245
|
argsIgnorePattern: "^_",
|
|
2247
2246
|
destructuredArrayIgnorePattern: "^_",
|
|
2248
|
-
ignoreRestSiblings: true
|
|
2247
|
+
ignoreRestSiblings: true,
|
|
2248
|
+
varsIgnorePattern: "^_"
|
|
2249
2249
|
}],
|
|
2250
2250
|
"ts/no-use-before-define": [ERROR, { classes: false, functions: false, variables: true }],
|
|
2251
2251
|
"ts/parameter-properties": OFF,
|
|
@@ -2775,7 +2775,8 @@ async function vinicuncaESLint(options = {}, ...userConfigs) {
|
|
|
2775
2775
|
if (enableTypeScript) {
|
|
2776
2776
|
configs.push(typescript({
|
|
2777
2777
|
...resolveSubOptions(options, "typescript"),
|
|
2778
|
-
componentExts
|
|
2778
|
+
componentExts,
|
|
2779
|
+
overrides: getOverrides(options, "typescript")
|
|
2779
2780
|
}));
|
|
2780
2781
|
}
|
|
2781
2782
|
if (stylisticOptions) {
|
|
@@ -2793,6 +2794,7 @@ async function vinicuncaESLint(options = {}, ...userConfigs) {
|
|
|
2793
2794
|
if (enableVue) {
|
|
2794
2795
|
configs.push(vue({
|
|
2795
2796
|
...resolveSubOptions(options, "vue"),
|
|
2797
|
+
overrides: getOverrides(options, "vue"),
|
|
2796
2798
|
stylistic: stylisticOptions,
|
|
2797
2799
|
typescript: !!enableTypeScript
|
|
2798
2800
|
}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -60,21 +60,21 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@antfu/eslint-define-config": "1.23.0-2",
|
|
62
62
|
"@eslint-types/jsdoc": "^46.9.1",
|
|
63
|
-
"@eslint-types/typescript-eslint": "^6.
|
|
63
|
+
"@eslint-types/typescript-eslint": "^6.17.0",
|
|
64
64
|
"@eslint-types/unicorn": "^50.0.1",
|
|
65
|
-
"@stylistic/eslint-plugin": "^1.5.
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
67
|
-
"@typescript-eslint/parser": "^6.
|
|
68
|
-
"@unocss/eslint-plugin": "^0.58.
|
|
65
|
+
"@stylistic/eslint-plugin": "^1.5.3",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
67
|
+
"@typescript-eslint/parser": "^6.18.1",
|
|
68
|
+
"@unocss/eslint-plugin": "^0.58.3",
|
|
69
69
|
"@vinicunca/eslint-plugin-vinicunca": "^1.0.10",
|
|
70
70
|
"eslint-merge-processors": "^0.1.0",
|
|
71
71
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
72
72
|
"eslint-plugin-format": "^0.1.0",
|
|
73
73
|
"eslint-plugin-i": "^2.29.1",
|
|
74
|
-
"eslint-plugin-jsdoc": "^
|
|
74
|
+
"eslint-plugin-jsdoc": "^48.0.2",
|
|
75
75
|
"eslint-plugin-jsonc": "^2.11.2",
|
|
76
76
|
"eslint-plugin-markdown": "^3.0.1",
|
|
77
|
-
"eslint-plugin-n": "^16.
|
|
77
|
+
"eslint-plugin-n": "^16.6.2",
|
|
78
78
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
79
79
|
"eslint-plugin-perfectionist": "^2.5.0",
|
|
80
80
|
"eslint-plugin-react": "^7.33.2",
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
"jsonc-eslint-parser": "^2.4.0",
|
|
90
90
|
"local-pkg": "^0.5.0",
|
|
91
91
|
"parse-gitignore": "^2.0.0",
|
|
92
|
-
"vue-eslint-parser": "^9.
|
|
92
|
+
"vue-eslint-parser": "^9.4.0",
|
|
93
93
|
"yaml-eslint-parser": "^1.2.2"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@eslint-stylistic/metadata": "^1.5.
|
|
96
|
+
"@eslint-stylistic/metadata": "^1.5.3",
|
|
97
97
|
"@types/eslint": "^8.56.0",
|
|
98
98
|
"@types/fs-extra": "^11.0.4",
|
|
99
99
|
"execa": "^8.0.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"fs-extra": "^11.2.0",
|
|
102
102
|
"react": "^18.2.0",
|
|
103
103
|
"tsup": "^8.0.1",
|
|
104
|
-
"vue": "^3.
|
|
104
|
+
"vue": "^3.4.7"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"lint": "eslint -v",
|