From 7cf23399a0b97cb8211e8e7b00020e9b1a5fdac1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 26 Jul 2020 11:47:51 +0200 Subject: 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 --- .eslintrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index cfe653c2b8..7c6e734d9a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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] -- cgit v1.2.3