mirror of
https://github.com/codex-team/editor.js
synced 2024-06-29 02:40:23 +02:00
* Move all modules to ts * It works * Update README.md Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com> * Interfaces * Interfaces * Move depending interfaces to external types * Update README.md * update tools * add some docs * Add some fixes * Add desctiprion for Block declaration and Core properties * Fixes due comments : * Remove Block from external types * Bump version * Update src/components/modules/tools.ts Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com> * Update src/components/core.ts Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com> * Rename gteBlockHTMLByIndex to getBlockByIndex * Remove unnecessary constructors * Clean up bindEvents method * Add InlineToolConstructable interface * Delete legacy notifications class * Fix zero-configuration bugs * Update inline tools and block tunes constructors
28 lines
657 B
JSON
28 lines
657 B
JSON
{
|
|
"extends": "tslint:recommended",
|
|
"linterOptions": {
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
},
|
|
"rules": {
|
|
"indent": [true, "spaces", 2],
|
|
"interface-name": false,
|
|
"quotemark": [true, "single"],
|
|
"no-console": false,
|
|
"no-empty-interface": false,
|
|
"one-variable-per-declaration": false,
|
|
"object-literal-sort-keys": false,
|
|
"ordered-imports": [true, {
|
|
"import-sources-order": "any",
|
|
"named-imports-order": "case-insensitive"
|
|
}],
|
|
"no-empty": false,
|
|
"no-namespace": false,
|
|
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case"]
|
|
},
|
|
"globals": {
|
|
"require": true
|
|
}
|
|
}
|