diff --git a/.husky/pre-commit1 b/.husky/pre-commit1 deleted file mode 100644 index 7e154687b..000000000 --- a/.husky/pre-commit1 +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npm run lint-staged diff --git a/eslint.config.mjs b/eslint.config.mjs index 79a262bcb..5133493a4 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -9,4 +9,8 @@ export default [ {languageOptions: { globals: {...globals.browser, ...globals.node} }}, pluginJs.configs.recommended, ...pluginVue.configs["flat/essential"], + {rules: { + 'no-console': 'error', + + }} ]; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index cdcbf4861..f3fc88870 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,9 +4,6 @@ "requires": true, "packages": { "": { - "dependencies": { - "vue-md-parser": "^1.0.3" - }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", @@ -14,7 +11,6 @@ "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-vue": "^9.32.0", "globals": "^15.14.0", - "husky": "^8.0.0", "lint-staged": "^15.4.3", "prettier": "^3.4.2", "vitepress": "^1.6.3" @@ -2721,22 +2717,6 @@ "node": ">=16.17.0" } }, - "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", - "dev": true, - "license": "MIT", - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -4386,15 +4366,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/vue-md-parser": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/vue-md-parser/-/vue-md-parser-1.0.3.tgz", - "integrity": "sha512-vQaa/uIRt8qCWDH62WgPvxgBGPMErR7s7oWcF8uOTrdZTUROq3w1wnZ1lJ3fvv44bB7yaai8LyiC8/sScdQ+VA==", - "license": "MIT", - "bin": { - "vue-md-parser": "generateDocs.js" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index a7d6ad496..3b0dd3ba3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "prepare": "husky install", + "postinstall": "git config core.hooksPath .git-hooks", "lint-staged": "lint-staged" }, "devDependencies": { @@ -14,7 +14,6 @@ "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-vue": "^9.32.0", "globals": "^15.14.0", - "husky": "^8.0.0", "lint-staged": "^15.4.3", "prettier": "^3.4.2", "vitepress": "^1.6.3" @@ -23,12 +22,6 @@ "*.{js,ts,vue}": [ "prettier --write", "eslint --fix" - ], - "*.py": [ - "env/scripts/pylint" ] - }, - "dependencies": { - "vue-md-parser": "^1.0.3" } } diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue index 7826a983f..e3015ba7c 100644 --- a/src/front/src/components/calendar_of_events/BigCalendar.vue +++ b/src/front/src/components/calendar_of_events/BigCalendar.vue @@ -15,7 +15,6 @@ no-resize variant="outlined" /> - - +