Peter Savchenko
3272efc3f7
chore(linting): eslint updated, code linted ( #2174 )
...
* update eslint + autofix
* a bunch of eslint fixes
* some spelling & eslint fixes
* fix some eslint errors and spells
* Update __module.ts
* a bunch of eslint fixes in tests
* Update cypress.yml
* Update cypress.yml
* fix cypress docker image name
* fixes for tests
* more tests fixed
* rm rule ignore
* rm another ignored rule
* Update .eslintrc
2022-11-25 21:56:50 +04:00
Tomoyuki Hata
d5217067a6
Refactoring based on ESLint ( #1637 )
...
* Refactoring based on ESLint
* Update .eslintrc
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
2021-04-08 22:53:11 +03:00
George Berezhnoy
a88dc8e30b
refactoring(modules): sanitizer module is util now ( #1574 )
...
* refactoring(modules): sanitizer module is util now
* Remove Sanitizer from Editor modules signature
* Bind context to config composition method
* Make sanitizer singletone
* Make sanitizer a module instead of class
* Fix
* Add test cases for default values
* Fix inline tools default value
* Move inline tools and block tunes to BlockTool instance
* Fixes after review & some test cases for sanitisation
* Upgrade test case
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2021-04-08 21:17:23 +03:00
George Berezhnoy
2d89105670
[Feature] Block Tunes API ( #1596 )
...
* Add internal wrappers for tools classes
* FIx lint
* Change tools collections to map
* Apply some more refactoring
* Make tool instance private field
* Add some docs
* Fix eslint
* Basic implementation for Block Tunes
* Small fix for demo
* Review changes
* Fix
* Add common tunes and ToolsCollection class
* Fixes after review
* Rename tools collections
* Readonly fix
* Some fixes after review
* Apply suggestions from code review
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Fixes after review
* Add docs and changelog
* Update docs/block-tunes.md
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Apply suggestions from code review
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/block/index.ts
Co-authored-by: Murod Khaydarov <murod.haydarov@gmail.com>
* [Dev] Tools utils tests (#1602 )
* Add tests for tools utils and coverage report
* Fix eslint
* Adjust test
* Add more tests
* Update after code review
* Fix test & bump version
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: Murod Khaydarov <murod.haydarov@gmail.com>
2021-04-04 15:10:26 +03:00
George Berezhnoy
4cfcb656a8
[Refactoring] Tools ( #1595 )
...
* Add internal wrappers for tools classes
* FIx lint
* Change tools collections to map
* Apply some more refactoring
* Make tool instance private field
* Add some docs
* Fix eslint
* Review changes
* Fix
* Fixes after review
* Readonly fix
2021-03-31 23:29:41 +03:00