Skip to content

Commit

Permalink
fix: Add note about Vue to README
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Apr 15, 2024
1 parent 4817eec commit 68fa84b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ In short, this should be your ESLint config:
}
```

If you still get errors about Vue files, you need to adjust your ESLint config like the following:
*(this will be fixed once the Nextcloud ESLint config support flat configs)*

```json
"extends": [
"@nextcloud",
"prettier"
],
"overrides": [
{
"files": ["**/*.vue"],
"rules": {
"vue/first-attribute-linebreak": "off"
}
}
]
```

### Prepare StyleLint
Stylelint already removed all stylistic rules, so make sure to use `@nextcloud/stylelint-config` **3+** together with `stylelint` 16+.

Expand Down

0 comments on commit 68fa84b

Please sign in to comment.