-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(info Modal): remove spaces before dots, make it shorter, center i…
…t better
- Loading branch information
1 parent
8624a5b
commit c3c3e3f
Showing
3 changed files
with
70 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,70 @@ | ||
// @ts-check | ||
import withNuxt from "./.nuxt/eslint.config.mjs"; | ||
|
||
const INLINE_ELEMENTS = [ | ||
"AnchorLink", | ||
"pre", | ||
"textarea", | ||
"router-link", | ||
"RouterLink", | ||
"nuxt-link", | ||
"NuxtLink", | ||
"u-link", | ||
"ULink", | ||
"a", | ||
"abbr", | ||
"audio", | ||
"b", | ||
"bdi", | ||
"bdo", | ||
"canvas", | ||
"cite", | ||
"code", | ||
"data", | ||
"del", | ||
"dfn", | ||
"em", | ||
"i", | ||
"iframe", | ||
"ins", | ||
"kbd", | ||
"label", | ||
"map", | ||
"mark", | ||
"noscript", | ||
"object", | ||
"output", | ||
"picture", | ||
"q", | ||
"ruby", | ||
"s", | ||
"samp", | ||
"small", | ||
"span", | ||
"strong", | ||
"sub", | ||
"sup", | ||
"svg", | ||
"time", | ||
"u", | ||
"var", | ||
"video", | ||
]; | ||
|
||
export default withNuxt({ | ||
rules: { | ||
"curly": "error", | ||
"vue/multiline-html-element-content-newline": ["error", { | ||
ignoreWhenEmpty: true, | ||
ignores: INLINE_ELEMENTS, | ||
allowEmptyLines: false, | ||
}], | ||
"vue/singleline-html-element-content-newline": ["warn", { | ||
ignoreWhenNoAttributes: true, | ||
ignoreWhenEmpty: true, | ||
ignores: INLINE_ELEMENTS, | ||
externalIgnores: [], | ||
}], | ||
"@typescript-eslint/no-non-null-assertion": "error", | ||
}, | ||
}); |