@debbl/eslint-config 3.7.1 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -4
- package/dist/index.js +7 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -770,7 +770,10 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
|
|
|
770
770
|
// @ts-expect-error missing types
|
|
771
771
|
interopDefault(import("eslint-config-prettier"))
|
|
772
772
|
]);
|
|
773
|
-
const
|
|
773
|
+
const defaultPrettierOptions = {
|
|
774
|
+
quoteProps: "consistent"
|
|
775
|
+
};
|
|
776
|
+
const plainFileRules = [
|
|
774
777
|
{
|
|
775
778
|
name: "eslint/prettier/markdown",
|
|
776
779
|
files: [GLOB_MARKDOWN],
|
|
@@ -822,7 +825,7 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
|
|
|
822
825
|
"warn",
|
|
823
826
|
{
|
|
824
827
|
parser: rule.parser,
|
|
825
|
-
|
|
828
|
+
...defaultPrettierOptions,
|
|
826
829
|
...options
|
|
827
830
|
}
|
|
828
831
|
]
|
|
@@ -851,13 +854,13 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
|
|
|
851
854
|
"warn",
|
|
852
855
|
{
|
|
853
856
|
plugins: tailwindcss2 ? ["prettier-plugin-tailwindcss"] : [],
|
|
854
|
-
|
|
857
|
+
...defaultPrettierOptions,
|
|
855
858
|
...options
|
|
856
859
|
}
|
|
857
860
|
]
|
|
858
861
|
}
|
|
859
862
|
},
|
|
860
|
-
...
|
|
863
|
+
...plainFileRules
|
|
861
864
|
];
|
|
862
865
|
};
|
|
863
866
|
|
package/dist/index.js
CHANGED
|
@@ -687,7 +687,10 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
|
|
|
687
687
|
// @ts-expect-error missing types
|
|
688
688
|
interopDefault(import("eslint-config-prettier"))
|
|
689
689
|
]);
|
|
690
|
-
const
|
|
690
|
+
const defaultPrettierOptions = {
|
|
691
|
+
quoteProps: "consistent"
|
|
692
|
+
};
|
|
693
|
+
const plainFileRules = [
|
|
691
694
|
{
|
|
692
695
|
name: "eslint/prettier/markdown",
|
|
693
696
|
files: [GLOB_MARKDOWN],
|
|
@@ -739,7 +742,7 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
|
|
|
739
742
|
"warn",
|
|
740
743
|
{
|
|
741
744
|
parser: rule.parser,
|
|
742
|
-
|
|
745
|
+
...defaultPrettierOptions,
|
|
743
746
|
...options
|
|
744
747
|
}
|
|
745
748
|
]
|
|
@@ -768,13 +771,13 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
|
|
|
768
771
|
"warn",
|
|
769
772
|
{
|
|
770
773
|
plugins: tailwindcss2 ? ["prettier-plugin-tailwindcss"] : [],
|
|
771
|
-
|
|
774
|
+
...defaultPrettierOptions,
|
|
772
775
|
...options
|
|
773
776
|
}
|
|
774
777
|
]
|
|
775
778
|
}
|
|
776
779
|
},
|
|
777
|
-
...
|
|
780
|
+
...plainFileRules
|
|
778
781
|
];
|
|
779
782
|
};
|
|
780
783
|
|