You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

stylelint-plugin-ckeditor5-rules

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-plugin-ckeditor5-rules

CKEditor 5 stylelint preset.

12.0.0
latest
Source
npmnpm
Version published
Weekly downloads
2.8K
-19.37%
Maintainers
1
Weekly downloads
 
Created
Source

CKEditor 5 Stylelint plugins

npm version Dependency Status

A set of plugins used by the CKEditor 5 team for Stylelint

By default this plugin is added to our stylelint-config-ckeditor5 preset.

Usage

npm i --save-dev stylelint-plugin-ckeditor5-rules

Add the plugin to a .stylelintrc file, then configure available rules.

{
	"plugins": [
		"stylelint-plugin-ckeditor5-rules/lib/license-header"
	]
}

Rules

license-header

This rule checks if each file starts with proper @license block comment. It requires configuration:

rules: {
	'ckeditor5-rules/license-header': [ 'error', {
		headerLines: [
			'/**',
			' * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.',
			' * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license',
			' */'
		]
	} ]
}

Keywords

stylelint

FAQs

Package last updated on 11 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts