diff options
author | silverwind <me@silverwind.io> | 2024-03-17 23:12:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 23:12:36 +0100 |
commit | 095fdd691dd1a7d7748372cc73e7708278c80933 (patch) | |
tree | ac511a4ecd9eb2a29ddddf9ab1d6e44c8f110ccd /.eslintrc.yaml | |
parent | 5ca65d33906ebbca1e502536ffef18942b541c1d (diff) | |
download | gitea-095fdd691dd1a7d7748372cc73e7708278c80933.tar.gz gitea-095fdd691dd1a7d7748372cc73e7708278c80933.zip |
move some scripts from 'build' to 'tools' directory, misc refactors (#29844)
- Move some scripts from `build` to new `tools` dir. Eventually i would
like to move all but let's do it step-by-step.
- Add dir to eslint and move the files into vars.
- Update docs accordingly.
- While updating docs I noticed we were incorrectly having `public/img`
path still in a few places. Replace those with the current
`public/assets/img`.
---------
Co-authored-by: Nanguan Lin <nanguanlin6@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index b62b13cefe..b65fe56cf2 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -42,10 +42,6 @@ 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, 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: - i/no-unresolved: [0] - i/no-extraneous-dependencies: [0] - files: ["*.config.*"] rules: i/no-unused-modules: [0] |