Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ extends:
- "plugin:vue/strongly-recommended"
- "plugin:vue/recommended"
- prettier

globals:
OC:
t:

rules:
no-plusplus:
- error
- allowForLoopAfterthoughts: true
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ jobs:
Please run `npm run prettier-fix` in order to correct this.';
exit 1;
}

- name: Check for issues with vue and js files (eslint)
shell: bash
run: >-
npm run eslint || {
echo '::error ::The eslint style checker failed.
Please run `npm run eslint-fix` in order to correct this.';
exit 1;
}

- name: Check for formatting issues with CSS files (stylelint)
shell: bash
run: >-
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
[#607](https://github.com/nextcloud/cookbook/pull/607) @christianlupus
- Enforce CSS styling using stylelint
[#608](https://github.com/nextcloud/cookbook/pull/608) @christianlupus
- More code styling, cleanup & minor bugfixes
[#615](https://github.com/nextcloud/cookbook/pull/615) @seyfeb

## Deprecated
- Obsolete routes to old user interface, see `appinfo/routes.php`
Expand Down
Loading