public/ckeditor/config.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 5
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
mnd 0
bc 0
fnc 1
dl 0
loc 5
rs 10
bpm 0
cpm 1
noi 2
c 0
b 0
f 0
1
/**
2
 * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
3
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
4
 */
5
6
CKEDITOR.editorConfig = function( config ) {
0 ignored issues
show
Unused Code introduced by
The parameter config is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Bug introduced by
The variable CKEDITOR seems to be never declared. If this is a global, consider adding a /** global: CKEDITOR */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
7
	// Define changes to default configuration here. For example:
8
	// config.language = 'fr';
9
	// config.uiColor = '#AADC6E';
10
};
11