@shayanthenerd/eslint-config 0.8.0 → 0.8.2
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/configs/css.js
CHANGED
|
@@ -5,7 +5,6 @@ import { getCSSRules } from "../rules/css.js";
|
|
|
5
5
|
import eslintCSS from "@eslint/css";
|
|
6
6
|
import { mergeConfigs } from "eslint-flat-config-utils";
|
|
7
7
|
import { tailwind3, tailwind4 } from "tailwind-csstree";
|
|
8
|
-
import { styleText } from "node:util";
|
|
9
8
|
|
|
10
9
|
//#region src/configs/css.ts
|
|
11
10
|
function getCSSConfig(options) {
|
|
@@ -23,7 +22,6 @@ function getCSSConfig(options) {
|
|
|
23
22
|
},
|
|
24
23
|
rules: getCSSRules(options)
|
|
25
24
|
};
|
|
26
|
-
console.warn(styleText("yellow", "⚠︎ Enabling the CSS config with `--cache` or `--print-config` options (CLI flags) may cause ESLint to crash. This is a known issue with the \"tailwind-csstree\" package used by \"@eslint/css\". Check out"), styleText("blue", "https://github.com/eslint/css/issues/211"), styleText("yellow", "for more details."));
|
|
27
25
|
return mergeConfigs(cssConfig, overrides);
|
|
28
26
|
}
|
|
29
27
|
|
package/dist/rules/vue.js
CHANGED
|
@@ -44,11 +44,7 @@ function getVueRules(options) {
|
|
|
44
44
|
void: selfCloseVoidHTMLElements
|
|
45
45
|
} }],
|
|
46
46
|
"vue/max-attributes-per-line": ["warn", { singleline: { max: maxAttributesPerLine } }],
|
|
47
|
-
"vue/attributes-order": ["warn", {
|
|
48
|
-
alphabetical: true,
|
|
49
|
-
sortLineLength: true,
|
|
50
|
-
order: attributesOrder
|
|
51
|
-
}],
|
|
47
|
+
"vue/attributes-order": ["warn", { order: attributesOrder }],
|
|
52
48
|
"vue/camelcase": "warn",
|
|
53
49
|
"vue/no-root-v-if": "warn",
|
|
54
50
|
"vue/require-expose": "error",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import { styleText } from "node:util";
|
|
3
2
|
import { includeIgnoreFile } from "@eslint/compat";
|
|
4
3
|
import fs from "node:fs";
|
|
4
|
+
import { styleText } from "node:util";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/ignores/resolveGitignorePatterns.ts
|
|
7
7
|
const warningMessage = styleText("yellow", "⚠ Warning:");
|
package/package.json
CHANGED