refactor [P-36]: декомпозиция конструктора + адаптация под создания тестов
This commit is contained in:
1 parent
6b69addc8b
commit
6b38f3b4d2
23 files changed
+3044
-3859
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import globals from "globals";
|
||||
import pluginJs from "@eslint/js";
|
||||
import pluginVue from "eslint-plugin-vue";
|
||||
|
||||
|
||||
/** @type {import('eslint').Linter.Config[]} */
|
||||
export default [
|
||||
{files: ["**/*.{js,mjs,cjs,vue}"]
|
||||
},
|
||||
{languageOptions: { globals: {...globals.browser, ...globals.node} }},
|
||||
pluginJs.configs.recommended,
|
||||
...pluginVue.configs["flat/essential"],
|
||||
{rules: {
|
||||
'no-console': 'error',
|
||||
|
||||
|
||||
}},
|
||||
|
||||
];
|
||||
Generated
-3692
File diff suppressed because it is too large.
Load diff
+18
-2
@@ -6,7 +6,9 @@
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"docs": "vuepress build docs"
|
||||
"formatter":"prettier --write",
|
||||
"linter":"eslint --fix"
|
||||
|
||||
},
|
||||
"dependencies": {
|
||||
"@ckeditor/ckeditor5-build-classic": "^44.1.0",
|
||||
@@ -43,6 +45,20 @@
|
||||
"leaflet": "^1.9.4",
|
||||
"sass-embedded": "^1.83.4",
|
||||
"vite": "^6.0.11",
|
||||
"vite-plugin-vuetify": "^2.1.0"
|
||||
"vite-plugin-vuetify": "^2.1.0",
|
||||
"@commitlint/cli": "^19.7.1",
|
||||
"@commitlint/config-conventional": "^19.7.1",
|
||||
"@eslint/js": "^9.19.0",
|
||||
"commitlint": "^19.7.1",
|
||||
"eslint": "^9.19.0",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-plugin-prettier": "^5.2.3",
|
||||
"eslint-plugin-vue": "^9.32.0",
|
||||
"globals": "^15.14.0",
|
||||
"prettier": "^3.4.2",
|
||||
"vitepress": "^1.6.3"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
<structure-inspection />
|
||||
</v-window-item>
|
||||
<v-window-item class="gap h-100" value="openVacancies">
|
||||
<open-vacancies/>
|
||||
<open-vacancies />
|
||||
</v-window-item>
|
||||
<v-window-item class="gap h-100" value="contactInfo">
|
||||
<contact-info />aasddasd
|
||||
<contact-info />
|
||||
</v-window-item>
|
||||
</template>aassssssrr
|
||||
</template>
|
||||
</pattern-tabs>
|
||||
</template>
|
||||
|
||||
@@ -23,7 +23,7 @@ import ContactInfo from "@/components/about_inspection/contacts/ContactInfo.vue"
|
||||
import { pagecounter } from "@/utils/universal_functions";
|
||||
import PatternTabs from "@/components/UI/PatternTabs.vue";
|
||||
import GeneralInformation from "@/components/about_inspection/general_information/GeneralInformation.vue";
|
||||
import OpenVacancies from '@/components/about_inspection/open_vacancies/OpenVacancies.vue';
|
||||
import OpenVacancies from "@/components/about_inspection/open_vacancies/OpenVacancies.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -31,12 +31,11 @@ export default {
|
||||
ContactInfo,
|
||||
PatternTabs,
|
||||
GeneralInformation,
|
||||
OpenVacancies
|
||||
OpenVacancies,
|
||||
},
|
||||
|
||||
setup() {
|
||||
|
||||
pagecounter();
|
||||
pagecounter();
|
||||
return {
|
||||
tabs_items: [
|
||||
{ title: "Общая информация", value: "mainInfo" },
|
||||
|
||||
Whitespace-only changes.
Reference in new issue
Block a user