mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 09:47:39 +08:00
3f0dc69400
Backport #30824 by @silverwind Before, lot of empty space when no labels or body: <img width="281" alt="Screenshot 2024-05-02 at 13 51 29" src="https://github.com/go-gitea/gitea/assets/115237/8a980ccd-d53c-43a3-a059-dc8c614621e1"> After, empty space collapsed: <img width="306" alt="Screenshot 2024-05-02 at 13 51 16" src="https://github.com/go-gitea/gitea/assets/115237/8d9c154d-5de1-43d0-8536-afd9194d99b3"> All `<p>` (unsuitable) and `<small>` (discouraged in favor of css) tags are removed. Co-authored-by: silverwind <me@silverwind.io>
23 lines
518 B
YAML
23 lines
518 B
YAML
plugins:
|
|
- eslint-plugin-vue
|
|
- eslint-plugin-vue-scoped-css
|
|
|
|
extends:
|
|
- ../../../.eslintrc.yaml
|
|
- plugin:vue/vue3-recommended
|
|
- plugin:vue-scoped-css/vue3-recommended
|
|
|
|
parserOptions:
|
|
sourceType: module
|
|
ecmaVersion: latest
|
|
|
|
env:
|
|
browser: true
|
|
|
|
rules:
|
|
vue/attributes-order: [0]
|
|
vue/html-closing-bracket-spacing: [2, {startTag: never, endTag: never, selfClosingTag: never}]
|
|
vue/max-attributes-per-line: [0]
|
|
vue/singleline-html-element-content-newline: [0]
|
|
vue-scoped-css/enforce-style-type: [0]
|