Skip to content

Commit 7dc17ab

Browse files
Merge pull request #23 from webdevnerdstuff/dev
Dev
2 parents 2f4b0fe + c729082 commit 7dc17ab

11 files changed

+559
-1226
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dist-ssr
2424
*.sln
2525
*.sw?
2626

27+
.eslintcache
2728

2829
src/plugin/**/*.bk.*
2930

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node-version=20.10.0
1+
node-version=22.11.0

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.10.0
1+
22.11.0

dist/vuetify-stepper-form.cjs.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vuetify-stepper-form.es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,7 @@ const rr = Me({ name: "Form", inheritAttrs: !1, props: { as: { type: null, defau
26992699
te.value || _e();
27002700
}(ee) }, null, 8, ["disabled", "size", "onClick"])]), _: 2 }, 1024))]), _: 2 }, 1032, ["keep-values-on-unmount", "validate-on-mount", "validation-schema"])];
27012701
}), _: 3 }, 16, ["modelValue", "mobile"])]), _: 3 }, 8, ["class"])], 4)], 6));
2702-
} }), Ar = Qa(Cr, [["__scopeId", "data-v-fc272bda"]]), jr = Object.freeze(Object.defineProperty({ __proto__: null, default: Ar }, Symbol.toStringTag, { value: "Module" })), Pr = ua, el = Symbol();
2702+
} }), Ar = Qa(Cr, [["__scopeId", "data-v-0b2a2388"]]), jr = Object.freeze(Object.defineProperty({ __proto__: null, default: Ar }, Symbol.toStringTag, { value: "Module" })), Pr = ua, el = Symbol();
27032703
function Xr(e = Pr) {
27042704
return { install: (t) => {
27052705
t.provide(el, e), t.config.idPrefix = "vsf", t.component("VStepperForm", eo(() => Promise.resolve().then(() => jr))), t.component("FieldLabel", eo(() => import("./FieldLabel-BBHgsT56.mjs")));
@@ -2712,4 +2712,4 @@ export {
27122712
Ar as default,
27132713
el as globalOptions
27142714
};
2715-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v-item-group[data-v-905803b2]{flex-wrap:wrap}.vsf-button-field__btn-label[data-v-905803b2]{color:var(--9a9a527e)}.v-stepper-item--error[data-v-fc272bda] .v-icon{color:#fff}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2715+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v-item-group[data-v-905803b2]{flex-wrap:wrap}.vsf-button-field__btn-label[data-v-905803b2]{color:var(--9a9a527e)}.v-stepper-item--error[data-v-0b2a2388] .v-icon{color:#fff}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();

eslint.config.mjs

Lines changed: 6 additions & 276 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,31 @@
11
// eslint.config.js
22
import eslint from '@eslint/js';
3-
import importPlugin from 'eslint-plugin-import';
3+
import wdnsConfig from '@wdns/eslint-config-wdns';
44
import pluginVue from 'eslint-plugin-vue';
5-
import prettier from 'eslint-plugin-prettier';
65
import tseslint from 'typescript-eslint';
7-
import typescript from '@typescript-eslint/eslint-plugin';
8-
import AutoImportJson from "./.eslintrc-auto-import.json" with { type: "json" };
9-
import globals from 'globals';
6+
import AutoImportJson from './.eslintrc-auto-import.json' with { type: 'json' };
7+
import vueTsEslintConfig from '@vue/eslint-config-typescript';
108

119

1210
export default tseslint.config(
1311
eslint.configs.recommended,
1412
...tseslint.configs.recommended,
1513
...pluginVue.configs['flat/essential'],
14+
...vueTsEslintConfig(),
15+
...wdnsConfig,
1616
{
1717
ignores: [
18-
'.eslintrc.js',
19-
'stylelint.config.js',
2018
'vite.build.config.mts',
2119
'vite.config.mts',
22-
'*.bk.vue',
23-
'*.spec.ts',
2420
'src/playground/configs/templates/PlaygroundPage.vue',
25-
'src/**/*.spec.ts',
26-
'src/**/*.test.ts',
2721
],
2822
},
2923
{
3024
name: 'app/files-to-lint',
3125
files: ['**/*.{ts,mts,tsx,vue}'],
32-
},
33-
{
34-
files: ['**/*.{js,ts,vue}'],
3526
languageOptions: {
3627
...AutoImportJson,
3728
ecmaVersion: 'latest',
38-
globals: {
39-
...globals.node,
40-
...globals.browser,
41-
},
4229
sourceType: 'module',
4330
parserOptions: {
4431
parser: tseslint.parser,
@@ -48,264 +35,7 @@ export default tseslint.config(
4835
},
4936
},
5037
plugins: {
51-
pluginVue,
5238
'typescript-eslint': tseslint.plugin,
53-
prettier,
54-
import: importPlugin,
55-
},
56-
rules: {
57-
// ESLint core and TypeScript rules //
58-
...eslint.configs.recommended.rules,
59-
...typescript.configs.recommended.rules,
60-
...typescript.configs['recommended-type-checked'].rules,
61-
62-
// Custom rules //
63-
'@typescript-eslint/ban-ts-comment': 0,
64-
'@typescript-eslint/no-empty-function': 0,
65-
'@typescript-eslint/no-empty-object-type': 0,
66-
'@typescript-eslint/no-explicit-any': 0,
67-
'@typescript-eslint/no-unsafe-assignment': 0,
68-
'@typescript-eslint/no-unsafe-member-access': 0,
69-
'arrow-spacing': ['error', { after: true, before: true }],
70-
'brace-style': ['error', 'stroustrup'],
71-
'comma-dangle': ['error', 'always-multiline'],
72-
'default-case': [
73-
'error', {
74-
commentPattern: '^skip\\sdefault',
75-
},
76-
],
77-
'func-names': ['error', 'never'],
78-
'function-paren-newline': 0,
79-
'implicit-arrow-linebreak': ['warn', 'beside'],
80-
"import/order": [
81-
"error",
82-
{
83-
"groups": [
84-
"builtin",
85-
"external",
86-
"type",
87-
"internal",
88-
"parent",
89-
"sibling",
90-
"index",
91-
],
92-
"pathGroups": [
93-
{
94-
"pattern": "@",
95-
"group": "internal"
96-
},
97-
{
98-
"pattern": "@Libraries/**",
99-
"group": "internal"
100-
},
101-
{
102-
"pattern": "@Layouts/**",
103-
"group": "internal"
104-
},
105-
{
106-
"pattern": "@Components/Layouts/**",
107-
"group": "internal",
108-
"position": "before"
109-
},
110-
{
111-
"pattern": "@Components/Elements/**",
112-
"group": "internal",
113-
"position": "before"
114-
},
115-
{
116-
"pattern": "@Components/Pages/**",
117-
"group": "internal",
118-
"position": "before"
119-
},
120-
{
121-
"pattern": "@Components/EasterEggs/**",
122-
"group": "internal",
123-
"position": "before"
124-
},
125-
{
126-
"pattern": "@Composables/**",
127-
"group": "internal",
128-
"position": "before"
129-
},
130-
{
131-
"pattern": "@Plugins/*",
132-
"group": "internal",
133-
"position": "before"
134-
},
135-
{
136-
"pattern": "@Stores/**",
137-
"group": "internal",
138-
"position": "before"
139-
},
140-
{
141-
"pattern": "@Types/**",
142-
"group": "type"
143-
},
144-
],
145-
"pathGroupsExcludedImportTypes":
146-
["internal"],
147-
"alphabetize": {
148-
"order": "asc",
149-
"caseInsensitive": true
150-
}
151-
}
152-
],
153-
'import/no-extraneous-dependencies': ['error', { 'devDependencies': true }],
154-
'import/no-self-import': 0,
155-
'import/prefer-default-export': 0,
156-
indent: [2, 'tab', { SwitchCase: 1 }],
157-
'linebreak-style': 0,
158-
'max-len': 0,
159-
160-
'no-console': ['warn', { allow: ['warn', 'error', 'info'] }],
161-
'no-debugger': 0,
162-
'no-else-return': ['error', { allowElseIf: true }],
163-
'no-multiple-empty-lines': ['error', { 'max': 2, 'maxEOF': 0 }],
164-
'no-new': 0,
165-
'no-param-reassign': [
166-
'error', {
167-
ignorePropertyModificationsFor: ['field', 'model', 'el', 'item', 'state'],
168-
props: true,
169-
},
170-
],
171-
'no-plusplus': [
172-
'error', { allowForLoopAfterthoughts: true },
173-
],
174-
'no-tabs': [0, { allowIndentationTabs: true }],
175-
'no-undef': 'off',
176-
'no-underscore-dangle': [
177-
'error', {
178-
allow: ['_data', '__dirname', '__filename', '__name'],
179-
allowAfterThis: true,
180-
},
181-
],
182-
'no-unused-vars': 1,
183-
'no-useless-escape': 0,
184-
'object-curly-newline': ['error', {
185-
ObjectPattern: { multiline: false },
186-
}],
187-
'operator-linebreak': ['error', 'after'],
188-
'prefer-destructuring': [
189-
'error', {
190-
array: false,
191-
object: false,
192-
},
193-
{
194-
enforceForRenamedProperties: false,
195-
},
196-
],
197-
'quotes': ['error', 'single', { avoidEscape: true }],
198-
'semi': ['error', 'always'],
199-
'sort-imports': ['error', {
200-
'allowSeparatedGroups': true,
201-
'ignoreCase': false,
202-
'ignoreDeclarationSort': true,
203-
'ignoreMemberSort': false,
204-
'memberSyntaxSortOrder': [
205-
'none',
206-
'single',
207-
'all',
208-
'multiple',
209-
],
210-
}],
211-
'space-before-function-paren': ['error', {
212-
anonymous: 'never',
213-
asyncArrow: 'always',
214-
named: 'never',
215-
}],
216-
'vue/attributes-order': ['error', {
217-
'alphabetical': true,
218-
'order': [
219-
'DEFINITION',
220-
'LIST_RENDERING',
221-
'CONDITIONALS',
222-
'RENDER_MODIFIERS',
223-
'GLOBAL',
224-
['UNIQUE', 'SLOT'],
225-
'TWO_WAY_BINDING',
226-
'OTHER_DIRECTIVES',
227-
'OTHER_ATTR',
228-
'EVENTS',
229-
'CONTENT',
230-
],
231-
}],
232-
'vue/component-tags-order': ['error', {
233-
'order': ['template', 'script', 'style'],
234-
}],
235-
'vue/html-closing-bracket-newline': 0,
236-
'vue/html-comment-content-spacing': ['error',
237-
'always',
238-
],
239-
'vue/html-indent': 0,
240-
'vue/html-self-closing': 0,
241-
'vue/max-attributes-per-line': 0,
242-
'vue/multi-word-component-names': 0,
243-
'vue/no-multiple-template-root': 0,
244-
'vue/no-template-shadow': 0,
245-
'vue/no-v-for-template-key-on-child': 0,
246-
'vue/no-v-html': 0,
247-
'vue/no-v-text-v-html-on-component': 0,
248-
'vue/order-in-components': ['error', {
249-
'order': [
250-
'el',
251-
'name',
252-
'key',
253-
'parent',
254-
'functional',
255-
['delimiters', 'comments'],
256-
['components', 'directives', 'filters'],
257-
'extends',
258-
'mixins',
259-
['provide', 'inject'],
260-
'ROUTER_GUARDS',
261-
'layout',
262-
'middleware',
263-
'validate',
264-
'scrollToTop',
265-
'transition',
266-
'loading',
267-
'inheritAttrs',
268-
'model',
269-
['props', 'propsData'],
270-
'emits',
271-
'setup',
272-
'asyncData',
273-
'data',
274-
'fetch',
275-
'head',
276-
'computed',
277-
'watch',
278-
'watchQuery',
279-
'beforeCreate',
280-
'created',
281-
'beforeMount',
282-
'mounted',
283-
'beforeUpdate',
284-
'updated',
285-
'activated',
286-
'deactivated',
287-
'beforeUnmount', // for Vue.js 3.x
288-
'unmounted', // for Vue.js 3.x
289-
'beforeDestroy',
290-
'destroyed',
291-
'renderTracked', // for Vue.js 3.x
292-
'renderTriggered', // for Vue.js 3.x
293-
'errorCaptured', // for Vue.js 2.5.0+
294-
'methods',
295-
['template', 'render'],
296-
'renderError',
297-
],
298-
}],
299-
'vue/padding-line-between-blocks': 1,
300-
'vue/require-name-property': 1,
301-
'vue/singleline-html-element-content-newline': 0,
302-
'vue/sort-keys': ['warn', 'asc', {
303-
caseSensitive: true,
304-
ignoreChildrenOf: ['model', 'defineProps'],
305-
ignoreGrandchildrenOf: ['computed', 'directives', 'inject', 'props', 'watch', 'defineProps'],
306-
minKeys: 2,
307-
natural: true,
308-
}],
30939
},
31040
settings: {
31141
'import/resolver': {
@@ -315,5 +45,5 @@ export default tseslint.config(
31545
},
31646
},
31747
},
318-
}
48+
},
31949
);

0 commit comments

Comments
 (0)