1 Star 0 Fork 0

DLGCY_Clone / trilium-ckeditor5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
/**
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/* eslint-env node */
'use strict';
module.exports = {
extends: 'ckeditor5',
ignorePatterns: [
// The CKEditor 5 core DLL build is created from JavaScript files.
// ESLint should not process compiled TypeScript.
'src/*.js'
],
rules: {
'ckeditor5-rules/ckeditor-imports': 'error',
'ckeditor5-rules/license-header': [ 'error', {
headerLines: [
'/**',
' * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.',
' * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license',
' */'
]
} ]
},
overrides: [
{
files: [ '**/tests/**/*.js' ],
rules: {
'no-unused-expressions': 'off',
'ckeditor5-rules/ckeditor-imports': 'off',
'ckeditor5-rules/no-cross-package-imports': 'off'
}
},
{
files: [ '**/docs/**/*.js' ],
rules: {
'ckeditor5-rules/ckeditor-imports': 'off'
}
}
]
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/DLGCY_Clone/trilium-ckeditor5.git
git@gitee.com:DLGCY_Clone/trilium-ckeditor5.git
DLGCY_Clone
trilium-ckeditor5
trilium-ckeditor5
stable

搜索帮助

344bd9b3 5694891 D2dac590 5694891