aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-07-26 11:47:51 +0200
committerGitHub <noreply@github.com>2020-07-26 17:47:51 +0800
commit7cf23399a0b97cb8211e8e7b00020e9b1a5fdac1 (patch)
treea517c074455b1fcaf2eaf0373c059e31f1333ba9 /.eslintrc
parentea1ed802a308698f6b30dd695d0b97251d552775 (diff)
downloadgitea-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--.eslintrc4
1 files changed, 4 insertions, 0 deletions
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]