corvée(stylelint) Corrige la configuration
This commit is contained in:
parent
692407c1f7
commit
1bd8ced70a
3 changed files with 5 additions and 4 deletions
2
stylelint.d.ts → lib/stylelint.d.ts
vendored
2
stylelint.d.ts → lib/stylelint.d.ts
vendored
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Définition d'un groupe de Propriétés _CSS_ du plugin `stylelint-config-clean-order` pour _Stylelint_.
|
||||
*/
|
||||
type StylelintConfigCleanOrderPropertyGroup = {
|
||||
export type StylelintConfigCleanOrderPropertyGroup = {
|
||||
emptyLineBefore: "never" | "threshold";
|
||||
noEmptyLineBetween: boolean;
|
||||
properties: string | Array<string>;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import { propertyGroups } from "stylelint-config-clean-order";
|
||||
|
||||
/** @type {Array<StylelintConfigCleanOrderPropertyGroup>} */
|
||||
/** @type {Array<import("./lib/stylelint.js").StylelintConfigCleanOrderPropertyGroup>} */
|
||||
const propertiesOrder = propertyGroups.map(properties => ({
|
||||
emptyLineBefore: "never",
|
||||
noEmptyLineBetween: true,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
"module": "NodeNext",
|
||||
"moduleDetection": "force",
|
||||
"moduleResolution": "NodeNext",
|
||||
"noEmit": true,
|
||||
"noEmit": false,
|
||||
"noImplicitAny": false,
|
||||
"noImplicitReturns": false,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
|
|
@ -18,9 +18,10 @@
|
|||
"noUnusedParameters": true,
|
||||
"strict": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"strictPropertyInitialization": true,
|
||||
"target": "ES2022"
|
||||
},
|
||||
"exclude": ["vendor", "web/app/plugins", "web/wp"],
|
||||
"include": ["web/app/themes/haiku-atelier-2024/src"]
|
||||
"include": ["*.js", "lib", "web/app/themes/haiku-atelier-2024/src"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue