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!
npm install @nextcloud/stylelint-config --save-dev
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
- Bump the package version with
npm version
- Push version bump commit
- Create a new release with proper changelog https://github.com/nextcloud/stylelint-config/releases/new