https://github.com/nextcloud-libraries/stylelint-config
Stylelint shared config for nextcloud apps
https://github.com/nextcloud-libraries/stylelint-config
config configuration nextcloud-plugin stylelint stylelint-config
Last synced: 3 months ago
JSON representation
Stylelint shared config for nextcloud apps
- Host: GitHub
- URL: https://github.com/nextcloud-libraries/stylelint-config
- Owner: nextcloud-libraries
- License: agpl-3.0
- Created: 2021-06-11T09:32:52.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-11-15T11:12:38.000Z (5 months ago)
- Last Synced: 2025-11-15T13:11:49.180Z (5 months ago)
- Topics: config, configuration, nextcloud-plugin, stylelint, stylelint-config
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@nextcloud/stylelint-config
- Size: 549 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Authors: AUTHORS.md
Awesome Lists containing this project
README
## @nextcloud/stylelint-config
[](https://api.reuse.software/info/github.com/nextcloud-libraries/stylelint-config)
[](https://www.npmjs.com/package/@nextcloud/stylelint-config)
[](https://dependabot.com)
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
```bash
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:
```js
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