Skip to content

Commit

Permalink
Merge branch 'main' into bc-4783-migrate-school-get
Browse files Browse the repository at this point in the history
  • Loading branch information
dyedwiper committed Nov 2, 2023
2 parents ecca66b + 05c0951 commit 19a99af
Show file tree
Hide file tree
Showing 388 changed files with 18,222 additions and 7,158 deletions.
35 changes: 21 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const NUXT_REMOVAL = true;

module.exports = {
root: true,
env: {
Expand All @@ -15,26 +13,35 @@ module.exports = {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-console": process.env.NODE_ENV === "production" ? "off" : "warn",
"no-debugger": process.env.NODE_ENV === "production" ? "off" : "warn",
// ----
"no-useless-escape": "error",
"no-irregular-whitespace": "error",
"vue/no-useless-template-attributes": "error",
"no-undef": "warn",
"no-prototype-builtins": "error",
"no-empty": "error",
"no-var": "error",
"prefer-const": "error",
"prettier/prettier": "error",
"@typescript-eslint/no-empty-function": "error",
"vue/multi-word-component-names": NUXT_REMOVAL ? "warn" : "error",
"@typescript-eslint/ban-ts-comment": "error",
"vue/no-mutating-props": "error",
"no-undef": NUXT_REMOVAL ? "warn" : "error",
"prefer-const": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/ban-types": "error",
"prettier/prettier": "error",
"no-var": "error",
"vue/no-v-text-v-html-on-component": "error",
"vue/no-v-html": "error",
"no-prototype-builtins": "error",
"no-empty": "error",
"vue/html-self-closing": [
"error",
{
html: {
void: "always",
},
},
],
"vue/no-setup-props-reactivity-loss": "error",
"vue/no-useless-template-attributes": "error",
"vue/no-mutating-props": "error",
"vue/multi-word-component-names": "warn",
"@typescript-eslint/no-restricted-imports": [
"warn",
{
Expand Down Expand Up @@ -66,7 +73,7 @@ module.exports = {
{
group: ["@components/page-*", "*/../page-*", "../**/page-*/*"],
message:
"page-Modules have to be imported using the pattern '@page-<name>'",
"Page-Modules have to be imported using the pattern '@page-<name>'",
},
{
group: ["@components/ui-*", "*/../ui-*", "../**/ui-*/*"],
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
run: npm run test:unit:ci
env:
NODE_OPTIONS: "--unhandled-rejections=warn"
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: SonarCloud upload coverage
uses: SonarSource/sonarcloud-github-action@v1.9
uses: SonarSource/sonarcloud-github-action@v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

## Documentation

If you want to get started on how to use this project, you can start with our **[Getting Started-Document](./docs/0_GettingStarted.md)**.

The complete **[documentation](./docs/README.md)** for this repository can be found here: *./docs/README.md*.
If you want to get started on how to use this project, you can start with our complete **[documentation](https://documentation.dbildungscloud.dev/docs/category/nuxt-client)**.

## Related repositories

Expand Down
45 changes: 0 additions & 45 deletions docs/0_GettingStarted.md

This file was deleted.

70 changes: 0 additions & 70 deletions docs/1_CodeConventions.md

This file was deleted.

162 changes: 0 additions & 162 deletions docs/2_ProjectStructure.md

This file was deleted.

Loading

0 comments on commit 19a99af

Please sign in to comment.