From 60cc8276fec509ff2328f91dd0a439bb81f44dac Mon Sep 17 00:00:00 2001 From: x Date: Wed, 29 Dec 2021 21:21:57 +0100 Subject: [PATCH] First commit --- .eslintrc.js | 10 ++++++++++ .github/workflows/main.yml | 19 +++++++++++++++++++ .gitignore | 4 ++++ .nojekyll | 0 .prettierrc.js | 11 +++++++++++ 5 files changed, 44 insertions(+) create mode 100644 .eslintrc.js create mode 100644 .github/workflows/main.yml create mode 100644 .gitignore create mode 100644 .nojekyll create mode 100644 .prettierrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..211f007 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,10 @@ +module.exports = { + extends: [ + "plugin:vue/vue3-essential", + "prettier", + ], + rules: { + // override/add rules settings here, such as: + "vue/no-unused-vars": "error", + }, +} \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f08dcc7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Deploy to GitHub Pages +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: "14" + cache: "npm" + - name: Install packages + run: npm install + - name: Build the application + run: npm run build + - name: Commit changed files + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Automated - commit latest build \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2a42a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +.DS_Store +*.local +.vscode \ No newline at end of file diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000..043ff8f --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,11 @@ +module.exports = { + semi: false, + tabWidth: 4, + useTabs: false, + printWidth: 80, + endOfLine: "auto", + singleQuote: true, + trailingComma: "es5", + bracketSpacing: true, + arrowParens: "always", +} \ No newline at end of file