Skip to content

nextcloud-libraries/stylelint-config

Folders and files

NameName
Last commit message
Last commit date
Sep 2, 2024
Jul 15, 2024
Jul 15, 2024
Jul 15, 2024
Jul 15, 2024
Jun 11, 2021
Jul 15, 2024
Jul 15, 2024
Jul 15, 2024
Mar 3, 2025
Jul 15, 2024

Repository files navigation

@nextcloud/stylelint-config

REUSE status npm last version Dependabot status

This is a package containing the unified global stylelint config used by all nextcloud apps. It contains the necessary dependencies and peerDependencies so that other apps cannot update if this config does not support it. Please always use dependabot to update your apps, OR pay attention to the peer dependencies error messages!

Installation

npm install @nextcloud/stylelint-config --save-dev

Usage

Add a file stylelint.config.js in the root directory of your app repository with the following content:

const stylelintConfig = require('@nextcloud/stylelint-config')

module.exports = stylelintConfig

Release new version

  1. Bump the package version with npm version
  2. Push version bump commit
  3. Create a new release with proper changelog https://github.com/nextcloud/stylelint-config/releases/new