Rob Garrison
d563495c26
Fix no-inline-comments issues
2017-08-27 17:20:45 -05:00
Rob Garrison
a3b8b7d168
Fix eslint issue
2017-08-27 17:20:45 -05:00
Rob Garrison
e387d7a5e7
Remove lint issues overflow & ellipsis
2017-08-27 17:20:45 -05:00
Rob Garrison
5ce7a925cb
Move stylelint-config to edit folder
2017-08-27 17:20:45 -05:00
Rob Garrison
75deeddc0e
Fix linting issues table
...
Also fixed severity icon alignment
2017-08-27 17:20:45 -05:00
Rob Garrison
80ed34f3e7
Use correct multi-line statement formatting
2017-08-27 17:20:45 -05:00
Rob Garrison
5bfbab62d7
Use push instead of concat
2017-08-27 17:20:45 -05:00
Rob Garrison
bfe1ad60c2
Remove unnecessary braces
2017-08-27 17:20:45 -05:00
Rob Garrison
3e371f193a
Set eslint no-inline-comments
2017-08-27 17:20:45 -05:00
Rob Garrison
5936d766f8
Update element selectors
2017-08-27 17:20:45 -05:00
Rob Garrison
b429735e86
Use loader script to load beautify
2017-08-27 17:20:44 -05:00
Rob Garrison
92a49759a9
Update empty stylelint rules on initial load
2017-08-27 17:20:44 -05:00
Rob Garrison
f36ce5c625
Fix undefined stylelintDefaultConfig
2017-08-27 17:20:44 -05:00
Rob Garrison
7da5bd1408
Remove link to jsonlint
2017-08-27 17:20:44 -05:00
Rob Garrison
9d1a1427a0
Fix stylelint settings json linting
2017-08-27 17:20:44 -05:00
Rob Garrison
775aec7c72
Add jsonlint resource
2017-08-27 17:20:44 -05:00
Rob Garrison
25ec79e8bb
Fix jsonlint error message text
2017-08-27 17:20:44 -05:00
Rob Garrison
dded798ee3
Fix stylelint error message timer
2017-08-27 17:20:44 -05:00
Rob Garrison
7c5b4c2bcf
Remove extra delay
...
It appears to no longer be an issue
2017-08-27 17:20:44 -05:00
Rob Garrison
29851a8de9
Dynamically load linter when selected
2017-08-27 17:20:44 -05:00
Rob Garrison
b1a7f8d4a2
Fix stylelint popup code & use codemirror
2017-08-27 17:20:44 -05:00
Rob Garrison
287f16dcfa
Use preventDefault
2017-08-27 17:20:43 -05:00
Rob Garrison
b89fb440f7
Replace try/catch with tryJSONparse
2017-08-27 17:20:43 -05:00
Rob Garrison
fefb8f332c
Rename function to be more precise
2017-08-27 17:20:43 -05:00
Rob Garrison
6bd1768b72
Remove unnecessary global
2017-08-27 17:20:43 -05:00
Rob Garrison
0ccdf2fd7f
Remove disabling of unrelated js linting issue
2017-08-27 17:20:43 -05:00
Rob Garrison
9564c21282
Split global definitions
2017-08-27 17:20:43 -05:00
Rob Garrison
73e7a9b3f1
Add stylelint config icon tooltip
2017-08-27 17:20:43 -05:00
Rob Garrison
c2e294beff
Fix js error when no linting issues exist
2017-08-27 17:20:43 -05:00
Rob Garrison
12a09976f2
Prevent vertical scrollbar on header
2017-08-27 17:20:43 -05:00
Rob Garrison
06cd78b643
Add stylelint settings popup & cleanup
2017-08-27 17:20:43 -05:00
Rob Garrison
07dce1006d
Split out lint code from edit.js
2017-08-27 17:20:43 -05:00
Rob Garrison
dfa71f699e
Add linter select option
2017-08-27 17:20:42 -05:00
Rob Garrison
a44b4e7822
Switch from CSSLint to stylelint
2017-08-27 17:20:42 -05:00
tophf
6f2883c6d3
remember window size only in active editor
2017-08-27 19:41:09 +03:00
tophf
a52c6ed9d7
avoid creating conflicts with stylelint PR
2017-08-27 18:03:59 +03:00
tophf
feea5e834e
avoid avoiding to actually avoid
...
it was a Chrome bug workaround which became harmful now that it's fixed in Chrome
2017-08-27 17:50:53 +03:00
tophf
ec95e8e7b4
simplify tabs.onAttached
2017-08-27 17:42:59 +03:00
tophf
d1924c1d63
deglobalize onAttached listener for editor tabs
...
* bonus: one unconditional global listener less
* bonus: in FF the saved window size is restored on detaching
* theoretically possible drawback: 100+ editor tabs on a slow computer may be slower than before
2017-08-27 17:17:28 +03:00
tophf
738846a614
better remember and detect resizing of editor; FF-compatibility
2017-08-27 17:05:05 +03:00
tophf
6256f1ab2d
fix narrow editor media query in FF: use column-count
2017-08-27 14:40:23 +03:00
tophf
92ab165192
don't restore size of editor window if it has many tabs
...
previously it happened occasionally on browser startup resulting in unwanted resizing of the main browser window
2017-08-18 17:09:02 +03:00
tophf
815f8ca959
also find styles for URLs with stripped #hash
...
kinda fixes #155
as per spec the fragment portion is ignored in @-moz-document:
https://www.w3.org/TR/2012/WD-css3-conditional-20120911/#url-of-doc
but we still respect url("foo#hash") set in userstyles
because the spec is outdated and doesn't account for SPA sites
collateral damage: simplified URLS.supported()
2017-08-18 13:18:19 +03:00
tophf
d2b81be9d1
editor: CM scroller height fix for resize-grip (fixup b45f51f1
)
...
fixes #142
2017-08-09 16:56:39 +03:00
tophf
af41d646dd
Don't show editor.contextDelete option in FF; #128
2017-07-31 19:39:44 +03:00
tophf
0d2d21b54d
editor->manage: always highlight the just edited style
2017-07-23 18:33:55 +03:00
Jeremy Schomery
3c298995f1
a few fixes
2017-07-22 12:56:37 +03:00
Jeremy Schomery
3ccdb555da
no insertAdjacentHTML usage on CM theme switching
2017-07-22 12:56:37 +03:00
Jeremy Schomery
53683dcbbd
empty contents of showHelp() before appending childs; based on https://github.com/openstyles/stylus/pull/119#issuecomment-316372767
2017-07-22 12:56:37 +03:00
Jeremy Schomery
7affeedd3b
removing tE()
2017-07-22 12:56:37 +03:00