diff --git a/.eslintrc.cjs b/.eslintrc.cjs index a97dc67..65d19cf 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -24,6 +24,7 @@ module.exports = { ' * For licensing, see LICENSE.md.', ' */' ] } ], + 'ckeditor5-rules/prevent-license-key-leak': 'error', 'vue/multi-word-component-names': 'off', 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': [ 'error' ] diff --git a/package.json b/package.json index 2084da5..dec1f57 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "ckeditor5-premium-features": "^42.0.2", "coveralls": "^3.1.1", "eslint": "^7.32.0", - "eslint-config-ckeditor5": "^5.3.2", + "eslint-config-ckeditor5": "^7.1.0", "eslint-plugin-vue": "^9.9.0", "husky": "^8.0.2", "lint-staged": "^10.2.11", diff --git a/vite.config.ts b/vite.config.ts index b1cb2a5..fc69236 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,7 +37,8 @@ export default defineConfig( { output: { globals: { 'vue': 'Vue', - 'lodash-es': '_' + 'lodash-es': '_', + '@ckeditor/ckeditor5-integrations-common': 'CKEDITOR_INTEGRATIONS_COMMON' } } } diff --git a/yarn.lock b/yarn.lock index 595ac06..1c5f715 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4804,21 +4804,21 @@ escodegen@^2.1.0: optionalDependencies: source-map "~0.6.1" -eslint-config-ckeditor5@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/eslint-config-ckeditor5/-/eslint-config-ckeditor5-5.3.2.tgz#1369f295ec294731d825b1fdafb18d6fa0793382" - integrity sha512-40zDbEf9zKnZNoIOhN+mMIuqRtYs4caL3ILRj/yVkiwR/bHWDoOQzhTJGnU1ZToiQ6y9W/Kv0WaZcNfSiVXkZA== +eslint-config-ckeditor5@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-ckeditor5/-/eslint-config-ckeditor5-7.1.0.tgz#4ad506ed16ecc454e89f1d2db5e627af9d06955a" + integrity sha512-Ki8V5JG10NZw4EK1qBLPL8292WoAFuLHAW1Iwbk8wn3m6oVIjLr+KRMFB+wzk7J5yQeRbJOh7WHF5iVZrotjlw== dependencies: "@typescript-eslint/eslint-plugin" "^5.26.0" "@typescript-eslint/parser" "^5.26.0" - eslint-plugin-ckeditor5-rules "^5.3.2" + eslint-plugin-ckeditor5-rules "^7.1.0" eslint-plugin-mocha "^7.0.0" typescript "^4.7.2" -eslint-plugin-ckeditor5-rules@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-ckeditor5-rules/-/eslint-plugin-ckeditor5-rules-5.3.2.tgz#a6bce9b72e992054fa53134387c7ed55cad2e69e" - integrity sha512-GmaRT93JljrD8FH2LQvlwOVBwqM5q1/VWnlwRlnA8JWZy5EuOUInZKfN7y7Tt9j70cm5qqQNjMfTsnkp6oi6yw== +eslint-plugin-ckeditor5-rules@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-ckeditor5-rules/-/eslint-plugin-ckeditor5-rules-7.1.0.tgz#50b5885d3dca65e318edadac49db9a2d7fba25da" + integrity sha512-nhGy4+dA7OVsUTtkkP/Y5iFdVpjczKRxc1As0YxoHm0xhQPx6tb5UoOeMRzT47gm5PVG808Tyz9/zWALgUGCXw== dependencies: "@es-joy/jsdoccomment" "^0.40.1" "@typescript-eslint/parser" "^5.52.0" @@ -8065,7 +8065,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -8079,6 +8079,13 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -8822,7 +8829,16 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@7.0.0, wrap-ansi@^6.2.0, wrap-ansi@^7.0.0, wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@7.0.0, wrap-ansi@^6.2.0, wrap-ansi@^7.0.0, wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==