diff options
author | silverwind <me@silverwind.io> | 2020-07-26 11:47:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 17:47:51 +0800 |
commit | 7cf23399a0b97cb8211e8e7b00020e9b1a5fdac1 (patch) | |
tree | a517c074455b1fcaf2eaf0373c059e31f1333ba9 /.eslintrc | |
parent | ea1ed802a308698f6b30dd695d0b97251d552775 (diff) | |
download | gitea-7cf23399a0b97cb8211e8e7b00020e9b1a5fdac1.tar.gz gitea-7cf23399a0b97cb8211e8e7b00020e9b1a5fdac1.zip |
Rework 'make generate-images' (#12316)
* Rework 'make generate-images'
- Remove external dependencies and replace it with a node script that
does does the same.
- Move detail removal from gitea-sm.png to favicon.png
- Remove favicon.ico and its generation, it is unused and we already serve
favicon.png in its place.
Fixes: https://github.com/go-gitea/gitea/issues/12314
* use proper centering value for preserveAspectRatio
* fix lint
* use fabric
* better linting fix
* fix typo
* mention detail-remove class in docs
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ overrides: worker: true rules: no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, location, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, status, statusbar, stop, toolbar, top] + - files: ["build/generate-images.js"] + rules: + import/no-unresolved: [0] + import/no-extraneous-dependencies: [0] rules: accessor-pairs: [2] |