mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 14:45:47 +01:00
* fix types export * lint * changelog * tests fixed * fix tests imports * lint tests * upd submodule * Update yarn.lock * rename wrapper to factory * Update package.json * rename to adapters * Update tools.d.ts * BlockTool -> BlockToolAdapter etc * Update nested-list * Update collection.ts
58 lines
1.3 KiB
Text
58 lines
1.3 KiB
Text
{
|
|
"extends": [
|
|
"codex/ts"
|
|
],
|
|
"globals": {
|
|
"Node": true,
|
|
"Range": true,
|
|
"HTMLElement": true,
|
|
"HTMLDivElement": true,
|
|
"Element": true,
|
|
"Selection": true,
|
|
"SVGElement": true,
|
|
"Text": true,
|
|
"InsertPosition": true,
|
|
"PropertyKey": true,
|
|
"MouseEvent": true,
|
|
"TouchEvent": true,
|
|
"KeyboardEvent": true,
|
|
"ClipboardEvent": true,
|
|
"DragEvent": true,
|
|
"Event": true,
|
|
"EventTarget": true,
|
|
"Document": true,
|
|
"NodeList": true,
|
|
"File": true,
|
|
"FileList": true,
|
|
"MutationRecord": true,
|
|
"AddEventListenerOptions": true,
|
|
"DataTransfer": true,
|
|
"DOMRect": true,
|
|
"ClientRect": true,
|
|
"ArrayLike": true,
|
|
"InputEvent": true,
|
|
"unknown": true,
|
|
"requestAnimationFrame": true,
|
|
"navigator": true
|
|
},
|
|
"rules": {
|
|
"jsdoc/require-returns-type": "off",
|
|
"@typescript-eslint/strict-boolean-expressions": "warn",
|
|
"@typescript-eslint/consistent-type-imports": "error",
|
|
"@typescript-eslint/consistent-type-exports": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"tsconfig.json",
|
|
"package.json",
|
|
"tsconfig.*.json",
|
|
"tslint.json"
|
|
],
|
|
"rules": {
|
|
"quotes": [1, "double"],
|
|
"semi": [1, "never"],
|
|
}
|
|
}
|
|
]
|
|
}
|