Skip to content

Commit

Permalink
chore: install @nextcloud/prettier-config, eslint-config-prettier
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <[email protected]>
  • Loading branch information
luka-nextcloud committed Oct 8, 2024
1 parent 7fda38c commit e33acfe
Show file tree
Hide file tree
Showing 113 changed files with 2,722 additions and 1,565 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ module.exports = {
root: true,
extends: [
'@nextcloud/eslint-config/typescript',
'prettier',
],
"overrides": [
{
"files": ["**/*.vue"],
"rules": {
"vue/first-attribute-linebreak": "off"
}
}
],
rules: {
'@typescript-eslint/no-unused-vars': ['off'],
Expand Down
15 changes: 15 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# version control systems directories
**/.git
**/.svn
**/.hg

# 3rdparty dependencies
**/node_modules
**/vendor

# Compiled JS output
js/

# PHP
lib/
**/*.php
5 changes: 5 additions & 0 deletions cypress/e2e/nodes/Links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ describe('test link marks', function() {

describe('link bubble', function() {

/**
*
* @param link

Check warning on line 32 in cypress/e2e/nodes/Links.spec.js

View workflow job for this annotation

GitHub Actions / NPM lint

Missing JSDoc @param "link" description

Check warning on line 32 in cypress/e2e/nodes/Links.spec.js

View workflow job for this annotation

GitHub Actions / NPM lint

Missing JSDoc @param "link" type
* @param options

Check warning on line 33 in cypress/e2e/nodes/Links.spec.js

View workflow job for this annotation

GitHub Actions / NPM lint

Missing JSDoc @param "options" description

Check warning on line 33 in cypress/e2e/nodes/Links.spec.js

View workflow job for this annotation

GitHub Actions / NPM lint

Missing JSDoc @param "options" type
*/
function clickLink(link, options = {}) {
cy.getContent()
.find(`a[href*="${link}"]`)
Expand Down
Loading

0 comments on commit e33acfe

Please sign in to comment.