Skip to content

Commit

Permalink
fix(esling): eslint config should extend @nextcloud
Browse files Browse the repository at this point in the history
Required to import all Nextcloud eslint rules, not only the typescript
ones.

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- authored and juliusknorr committed Dec 13, 2024
1 parent 9a6fda7 commit a95eec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module.exports = {
root: true,
extends: [
'@nextcloud/eslint-config/typescript',
'@nextcloud',
],
rules: {
'@typescript-eslint/no-unused-vars': ['off'],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "@vue/tsconfig",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"allowJs": true,
"allowJs": true,
"declaration": true,
"esModuleInterop": true,
"lib": ["DOM", "ESNext"],
Expand Down

0 comments on commit a95eec9

Please sign in to comment.