This commit is contained in:
parent
650f381148
commit
11fa3d1558
38 changed files with 819 additions and 148 deletions
|
|
@ -44,12 +44,18 @@
|
|||
"useTabs": false
|
||||
},
|
||||
"markup": {
|
||||
"astro.scriptIndent": true,
|
||||
"astro.styleIndent": true,
|
||||
"astroAttrShorthand": true,
|
||||
"closingBracketSameLine": false,
|
||||
"closingTagLineBreakForEmpty": "never",
|
||||
"component.selfClosing": false,
|
||||
"component.whitespaceSensitivity": "strict",
|
||||
"doctypeKeywordCase": "lower",
|
||||
"formatComments": true,
|
||||
"html.normal.selfClosing": false,
|
||||
"html.scriptIndent": true,
|
||||
"html.styleIndent": true,
|
||||
"html.void.selfClosing": false,
|
||||
"indentWidth": 2,
|
||||
"lineBreak": "lf",
|
||||
|
|
@ -60,8 +66,15 @@
|
|||
"scriptFormatter": "dprint",
|
||||
"scriptIndent": true,
|
||||
"styleIndent": true,
|
||||
"svg.selfClosing": true,
|
||||
"svg.selfClosing": false,
|
||||
"useTabs": false,
|
||||
"vBindSameNameShortHand": true,
|
||||
"vBindStyle": "short",
|
||||
"vForDelimiterStyle": "of",
|
||||
"vOnStyle": "short",
|
||||
"vSlotStyle": "short",
|
||||
"vue.scriptIndent": true,
|
||||
"vue.styleIndent": true,
|
||||
"whitespaceSensitivity": "strict"
|
||||
},
|
||||
"newLineKind": "lf",
|
||||
|
|
|
|||
|
|
@ -1,17 +1,15 @@
|
|||
// @ts-expect-error -- La dépendance ne dispose pas de types.
|
||||
import { propertyGroups } from "stylelint-config-clean-order";
|
||||
|
||||
|
||||
const propertiesOrder = Array.from(propertyGroups).map(properties => ({
|
||||
emptyLineBefore: "never",
|
||||
noEmptyLineBetween: true,
|
||||
properties,
|
||||
}));
|
||||
|
||||
|
||||
/** @type {import("stylelint").Config} */
|
||||
export default {
|
||||
extends: ["stylelint-config-standard", "stylelint-config-clean-order"],
|
||||
extends: ["stylelint-config-standard", "stylelint-config-clean-order", "stylelint-config-recommended-vue"],
|
||||
plugins: ["stylelint-declaration-block-no-ignored-properties"],
|
||||
rules: {
|
||||
"custom-property-pattern": null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue