diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 7673c68..0000000 --- a/.eslintrc +++ /dev/null @@ -1,32 +0,0 @@ -{ - "env": { - "node": true - }, - "extends": [ - "plugin:vue/vue3-essential", - "eslint:recommended", - "@vue/eslint-config-prettier" - ], - "parserOptions": { - "parser": "@babel/eslint-parser", - "requireConfigFile": false - }, - "rules": { - "eqeqeq": "error", - "no-extra-boolean-cast": [ - "error", - { - "enforceForLogicalOperands": true - } - ], - "vue/component-name-in-template-casing": [ - "error", - "PascalCase", - { - "registeredComponentsOnly": false - } - ], - "object-shorthand": "warn", - "no-console": "warn" - } -} diff --git a/.github/workflows/pr_test_deploy.yml b/.github/workflows/pr_test_deploy.yml index 528ccc9..6c753c5 100644 --- a/.github/workflows/pr_test_deploy.yml +++ b/.github/workflows/pr_test_deploy.yml @@ -1,22 +1,22 @@ -name: Review deployment +# name: Review deployment -on: pull_request +# on: pull_request -jobs: - test: - runs-on: ubuntu-latest +# jobs: +# test: +# runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 +# steps: +# - name: Checkout repository +# uses: actions/checkout@v2 - - name: Set Node.js 18.x - uses: actions/setup-node@v3 - with: - node-version: 18.x +# - name: Set Node.js 18.x +# uses: actions/setup-node@v3 +# with: +# node-version: 18.x - - name: Install - run: yarn +# - name: Install +# run: yarn - - name: Check - run: yarn lint ; yarn format +# - name: Check +# run: yarn lint ; yarn format diff --git a/.gitignore b/.gitignore index 33a073b..58ca339 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ yarn-debug.log* yarn-error.log* lerna-debug.log* .pnpm-debug.log* +yarn.lock # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 4c0ac01..0000000 --- a/.prettierrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "tabWidth": 4, - "arrowParens": "avoid", - "bracketSpacing": true, - "trailingComma": "all", - "semi": true, - "printWidth": 80, - "singleQuote": true, - "quoteProps": "consistent", - "singleAttributePerLine": true, - "endOfLine": "auto" -} diff --git a/package.json b/package.json index eadd947..0d7f1e4 100644 --- a/package.json +++ b/package.json @@ -5,28 +5,20 @@ "scripts": { "start": "vue-cli-service serve --port 9003", "build": "vue-cli-service build", - "lint": "eslint --ext .vue --ext .js .", - "lint:fix": "eslint --ext .vue --ext .js --fix .", - "format": "prettier --check .", - "format:write": "prettier --write .", "serve:standalone": "vue-cli-service serve --mode standalone" }, "dependencies": { "core-js": "^3.8.3", "single-spa-vue": "^2.1.0", "vue": "^3.2.13", - "vue-router": "^4.1.5" + "vue-router": "^4.1.5", + "profcomff-common": "file:../../packages/common" }, "devDependencies": { "@babel/core": "^7.12.16", "@babel/eslint-parser": "^7.12.16", "@vue/cli-plugin-babel": "~5.0.0", - "@vue/cli-plugin-eslint": "~5.0.0", "@vue/cli-service": "~5.0.0", - "@vue/eslint-config-prettier": "^7.0.0", - "eslint": "^7.32.0", - "eslint-plugin-vue": "^8.0.3", - "prettier": "^2.8.3", "vue-cli-plugin-single-spa": "~3.3.0" }, "browserslist": [ diff --git a/src/components/Menu/ListItem.vue b/src/components/Menu/ListItem.vue index 45a9219..529bcb1 100644 --- a/src/components/Menu/ListItem.vue +++ b/src/components/Menu/ListItem.vue @@ -5,7 +5,7 @@ :href="path" target="_blank" > - {{ info.icon }} + {{ info.text }} - {{ info.icon }} + {{ info.text }}