Commit Graph

14 Commits

Author SHA1 Message Date
eight
2fd531e253 Rewrite linter system (#487)
* Add: implement new linter system

* Refactor: pull out editor worker

* Switch to new linter and worker

* Enable eslint cache

* Fix: undefined error

* Windows compatibility

* Fix: refresh linter if the editor.linter changes

* Add: stylelint

* Add: getStylelintRules, getCsslintRules

* Fix: logic to get correct linter

* WIP: linter-report

* Fix: toggle hidden state

* Add: matain the order of lint report for section editor

* Add: unhook event

* Add: gotoLintIssue

* Fix: shouldn't delete rule.init

* Add: linter-help-dialog

* Drop linterConfig

* Add: linter-config-dialog, cacheFn

* Add: use cacheFn

* Drop lint.js

* Add: refresh. Fix report order

* Fix: hide empty table

* Add: updateCount. Fix table caption

* Switch to new linter/worker

* Fix: remove unneeded comment

* Fix: cacheFn -> cacheFirstCall

* Fix: use cacheFirstCall

* Fix: cache metaIndex

* Fix: i < trs.length

* Fix: drop isEmpty

* Fix: expose some simple states to global

* Fix: return object code style

* Fix: use proxy to reflect API

* Fix: eslint-disable-line -> eslint-disable-next-line

* Fix: requestId -> id

* Fix: one-liner

* Fix: one-liner

* Fix: move dom event block to top

* Fix: pending -> pendingResponse

* Fix: onSuccess -> onUpdated

* Fix: optimize row removing when i === 0

* Fix: hook/unhook -> enableForEditor/disableForEditor

* Fix: linter.refresh -> linter.run

* Fix: some shadowing

* Fix: simplify getAnnotations

* Fix: cacheFirstCall -> memoize

* Fix: table.update -> table.updateCaption

* Fix: unneeded reassign

* Fix: callbacks -> listeners

* Fix: don't compose but extend

* Refactor: replace linter modules with linter-defaults and linter-engines

* Fix: implement linter fallbacks

* Fix: linter.onChange -> linter.onLintingUpdated

* Fix: cms -> tables

* Fix: parseMozFormat is not called correctly

* Move csslint-loader to background

* Fix: watch config changes

* Fix: switch to LINTER_DEFAULTS

* Fix: csslint-loader -> parserlib-loader
2018-10-01 09:03:17 -05:00
tophf
ec477f0c02 1.4.22 2018-09-20 12:55:52 +03:00
tophf
3243e37fbc 1.4.21 2018-09-10 18:01:34 +03:00
tophf
6f53d20491 update package.json 2018-08-25 15:11:14 +03:00
tophf
74d9a0d8ba 1.4.20 2018-08-20 17:41:32 +03:00
tophf
fd745836a5 1.4.19 2018-08-12 15:22:31 +03:00
tophf
4302b8f69d 1.4.18 2018-08-12 14:58:20 +03:00
Rob Garrison
4795154cf7 Use rimraf in build process
So it works on Windows 7
2018-08-12 04:51:15 -05:00
Rob Garrison
489c014fe9 update vendor files 2018-08-12 04:51:15 -05:00
Rob Garrison
9d15120402 Add "update-quick" script
Using "npm run update" now re-installs all modules
2018-08-12 04:51:15 -05:00
tophf
c7870ee2d1 bump version 2018-07-23 21:25:37 +03:00
Rob Garrison
d03ed69b6e Update to semver with LF normalization 2018-07-23 12:47:57 -05:00
Rob Garrison
eea72befb1 Update less library 2018-07-23 12:47:57 -05:00
Rob Garrison
c61d34d053 Update libraries (#440) 2018-07-21 20:58:54 +03:00