Skip to content

refactor: merge Nextcloud specific rules into the @nextcloud plugin#1278

Open
susnux wants to merge 4 commits intomainfrom
refactor/merge-nc-specific-plugins
Open

refactor: merge Nextcloud specific rules into the @nextcloud plugin#1278
susnux wants to merge 4 commits intomainfrom
refactor/merge-nc-specific-plugins

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jan 21, 2026

Summary

Merged the nextcloud-l10n plugin into the nextcloud plugin

Merged the rules into the Nextcloud plugin, new rule names:

  • @nextcloud-l10n/enforce-ellipsis -> @nextcloud/l10n-enforce-ellipsis
  • @nextcloud-l10n/nonbreaking-space -> @nextcloud/l10n-non-breaking-space

The vue variants have been merged into the base rules.

Renamed @nextcloud/no-deprecations and @nextcloud/no-removed-apis

Renamed so it does not confuse with vue rules after merging the plugins.
New rule names:

  • @nextcloud/no-deprecations -> @nextcloud/no-deprecated-globals
  • @nextcloud/no-removed-apis -> @nextcloud/no-removed-globals

Merged @nextcloud-vue plugin into the @nextcloud plugin

Rule name changes:

  • @nextcloud-vue/no-deprecated-exports -> @nextcloud/no-deprecated-library-exports
  • @nextcloud-vue/no-deprecated-props -> @nextcloud/no-deprecated-library-props

@susnux
Copy link
Contributor Author

susnux commented Feb 20, 2026

I think the new names are easier to understand.
Except for the vue library rules where I am not sure they are the best names we can come up with.

Alternatives I have considered:

  • prefix with vue-
    • Example: @nextcloud/no-deprecated-library-exports -> @nextcloud/vue-no-deprecated-export
    • I think this is fine, but can confuse with general vue rules
  • prefix with vue-library instead of suffix with -library-
    • Example: @nextcloud/no-deprecated-library-exports -> @nextcloud/vue-library-no-deprecated-exports
    • Makes is clear this rule is only about our vue library but its quite a long name...

- `@nextcloud-l10n/enforce-ellipsis` -> `@nextcloud/l10n-enforce-ellipsis`
- `@nextcloud-l10n/nonbreaking-space` -> `@nextcloud/l10n-non-breaking-space`
- The vue variant has been merged into the base rule

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…moved-apis`

Renamed so it does not confuse with vue rules after merging the plugins.
- `@nextcloud/no-deprecations` -> `@nextcloud/no-deprecated-globals`
- `@nextcloud/no-removed-apis` -> `@nextcloud/no-removed-globals`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- `@nextcloud-vue/no-deprecated-exports` -> `@nextcloud/no-deprecated-library-exports`
- `@nextcloud-vue/no-deprecated-props` -> `@nextcloud/no-deprecated-library-props`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the refactor/merge-nc-specific-plugins branch from e5b85e6 to 56e3105 Compare February 20, 2026 14:43
@susnux susnux marked this pull request as ready for review February 23, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💥 [feat] Create a single nextcloud plugin with all the nextcloud-related rules instead of many few-rules plugins

1 participant