Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: install @nextcloud/prettier-config, eslint-config-prettier #6510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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.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('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
Loading