@vinicunca/eslint-config 2.10.1 → 2.11.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 +2 -2
- package/dist/index.d.cts +311 -73
- package/dist/index.d.ts +311 -73
- package/dist/index.js +1 -1
- package/package.json +19 -20
package/dist/index.cjs
CHANGED
|
@@ -112,7 +112,7 @@ __export(src_exports, {
|
|
|
112
112
|
});
|
|
113
113
|
module.exports = __toCommonJS(src_exports);
|
|
114
114
|
|
|
115
|
-
// ../node_modules/.pnpm/tsup@8.2.4_jiti@1.21.6_postcss@8.4.
|
|
115
|
+
// ../node_modules/.pnpm/tsup@8.2.4_jiti@1.21.6_postcss@8.4.45_tsx@4.19.0_typescript@5.6.2_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
116
116
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
117
117
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
118
118
|
|
|
@@ -377,7 +377,6 @@ async function astro(options = {}) {
|
|
|
377
377
|
...stylistic2 ? {
|
|
378
378
|
"style/indent": OFF,
|
|
379
379
|
"style/jsx-closing-tag-location": OFF,
|
|
380
|
-
"style/jsx-indent": OFF,
|
|
381
380
|
"style/jsx-one-expression-per-line": OFF,
|
|
382
381
|
"style/no-multiple-empty-lines": OFF
|
|
383
382
|
} : {},
|
|
@@ -465,6 +464,7 @@ async function stylistic(options = {}) {
|
|
|
465
464
|
},
|
|
466
465
|
rules: {
|
|
467
466
|
...config.rules,
|
|
467
|
+
"antfu/consistent-chaining": ERROR,
|
|
468
468
|
"antfu/consistent-list-newline": ERROR,
|
|
469
469
|
"antfu/top-level-function": ERROR,
|
|
470
470
|
"curly": [ERROR, "all"],
|