eight
48e565079c
Fix: reindent promise
2017-11-09 09:12:12 +08:00
eight
9dddbbba9f
Fix: unused getName
2017-11-01 11:16:59 +08:00
eight
95902388a3
Fix: default linter hacks
2017-10-16 03:58:02 +08:00
eight
368bb34811
Fix: make updateLinter wait linterConfig to load
2017-10-15 05:19:22 +08:00
eight
fc51d806da
Fix: force using stylelint when editor mode is not css
2017-10-07 18:00:25 +08:00
eight
ba4c06ae82
Fix: lint initialize issue
2017-09-19 08:51:56 +08:00
eight
dc988a413e
Revert: editors
2017-09-16 08:44:56 +08:00
eight
40a5dab311
Fix: script order of loadLinterAssets
2017-09-13 21:26:22 +08:00
eight
b61b058824
Fix: pull out makeLink
2017-09-13 17:34:27 +08:00
eight
31464bb499
Fix: reference error
2017-09-13 16:53:21 +08:00
eight
2506b957f8
Fix: rewrite loadScript, merge onDOMscripted, injectCSS, injectScript
2017-09-12 23:19:16 +08:00
eight
431dbdc81c
Fix: remove escapeHtml completely
2017-09-12 20:03:24 +08:00
eight
d4ddefe8a0
Merge branch 'master' of https://github.com/openstyles/stylus into dev-user-css
2017-09-12 03:40:56 +08:00
eight
3730a4e483
Fix: i18n and escapeHtml, url
2017-09-12 02:32:27 +08:00
eight
a15493bfb9
Add: source editor
2017-09-12 00:10:27 +08:00
tophf
1daa713582
always hide lint report on switching the linter option
2017-09-04 01:07:07 +03:00
tophf
ea8eaf3146
swap parameters in prefs.subscribe
2017-09-03 20:06:30 +03:00
tophf
0c205df108
fixup 85a5702f: refactor; properly clear renderLintReportNow
2017-09-03 19:36:33 +03:00
tophf
0a5d9d86bf
editor: on disabling CSS linter option, hide the report entirely
2017-09-01 11:08:48 +03:00
tophf
85a5702fe0
refactor lint report stuff, use $element
2017-08-31 23:19:43 +03:00
tophf
ec01914f17
separate 'rule' property in lint annotations
2017-08-31 22:25:28 +03:00
tophf
0189ae1d64
show lint report on open earlier; lint on import
2017-08-31 21:27:07 +03:00
tophf
e4ea7a44af
updateLinter will be called by watchStorage on save
2017-08-29 18:30:39 +03:00
tophf
c7a0759216
don't run CSS linters in the config dialog json
2017-08-29 18:22:08 +03:00
tophf
3d5383ceaf
debounce and subscribe updateLinter
2017-08-29 17:59:53 +03:00
tophf
c15082fed4
editor: preload lint gutters css; update on disabling
2017-08-29 17:12:39 +03:00
tophf
81e6720341
use $element in showLintHelp
2017-08-28 16:33:45 +03:00
tophf
dd6182aef3
lint issues list: show rule name only on hover
2017-08-28 15:20:38 +03:00
tophf
9946f3c781
regroup some of lint* data and code
...
* all lint-related js files are prefixed by lint-
* config-related stuff is grouped in linterConfig
* CM helper is rewritten and moved in /edit now that CSSLint supports these features
* chromeSync methods that apply LZString got LZ in their names
* empty string is used for 'disabled' in linter selector
2017-08-28 15:20:37 +03:00
Rob Garrison
6c3501bf9a
Use rules or config consistently
2017-08-27 17:20:48 -05:00
Rob Garrison
21e22c2b6f
Rename CSSLint ruleset to config
2017-08-27 17:20:48 -05:00
Rob Garrison
1e03910b0b
Rename & organize linter messages
2017-08-27 17:20:48 -05:00
Rob Garrison
5ad23bd681
Do not automatically update the linter after a config reset
2017-08-27 17:20:48 -05:00
Rob Garrison
cb177eba4b
Add linter config reset tooltip
2017-08-27 17:20:47 -05:00
Rob Garrison
1a384142ba
Refocus textbox after save/reset
2017-08-27 17:20:47 -05:00
Rob Garrison
e96f0808ed
Rename CSSLint rule config file & variable
2017-08-27 17:20:47 -05:00
Rob Garrison
b00d9575f8
Clear linter config history
2017-08-27 17:20:47 -05:00
Rob Garrison
2c234893e2
Add config cancel button
2017-08-27 17:20:47 -05:00
Rob Garrison
2df6b8bca0
Clean up lint globals
2017-08-27 17:20:47 -05:00
Rob Garrison
95ff72b722
Make linter config JSON more readable
2017-08-27 17:20:47 -05:00
Rob Garrison
52af5c85c0
Don't show nested "rules" in config
2017-08-27 17:20:47 -05:00
Rob Garrison
e2228964d4
Fix issue when CSSLint isn't loaded
2017-08-27 17:20:47 -05:00
Rob Garrison
988af5f1b8
Store linter rules with sync & LZ compression
2017-08-27 17:20:47 -05:00
Rob Garrison
0cd88873e1
Show alert with invalid JSON and rule names
2017-08-27 17:20:47 -05:00
Rob Garrison
5b2cd77035
Fix indention
2017-08-27 17:20:47 -05:00
Rob Garrison
320fd07789
Rename as generic reset message
2017-08-27 17:20:47 -05:00
Rob Garrison
ac1ffa98b5
Add CSSLint rule configuration
2017-08-27 17:20:46 -05:00
Rob Garrison
b178d3d8ee
Open CSSLint rule in a new tab
2017-08-27 17:20:46 -05:00
Rob Garrison
2ae5cde274
Linkify CSSLint rules. See #167
2017-08-27 17:20:46 -05:00
Rob Garrison
ce906eb4b6
Move csslint-worker file
2017-08-27 17:20:45 -05:00