@archpublicwebsite/eslint-config 1.0.13 → 1.0.15
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/README.md +1 -0
- package/eslint.config.mjs +3 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ This package ships a ready-to-use flat config plus setup scripts for local proje
|
|
|
16
16
|
- Flat config based on `@antfu/eslint-config`
|
|
17
17
|
- Vue, TypeScript, Tailwind, and Nuxt-friendly defaults
|
|
18
18
|
- Git hooks for consistent formatting and commit validation
|
|
19
|
+
- Prettier remains available for editor guidance, but the global `format/prettier` bridge is disabled to avoid flat-config parser conflicts
|
|
19
20
|
- Automatic project setup on install
|
|
20
21
|
- Works with the Archipelago repo style rules
|
|
21
22
|
|
package/eslint.config.mjs
CHANGED
|
@@ -40,16 +40,9 @@ export function createArchipelagoConfig(...overrides) {
|
|
|
40
40
|
{
|
|
41
41
|
name: 'archipelago/rules',
|
|
42
42
|
rules: {
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
|
|
46
|
-
'format/prettier': ['warn', {
|
|
47
|
-
singleQuote: true,
|
|
48
|
-
semi: false,
|
|
49
|
-
printWidth: 120,
|
|
50
|
-
trailingComma: 'all',
|
|
51
|
-
arrowParens: 'avoid',
|
|
52
|
-
}],
|
|
43
|
+
// Disable the global Prettier bridge rule here because it requires a
|
|
44
|
+
// parser per file type and creates validation conflicts in flat config.
|
|
45
|
+
'format/prettier': 'off',
|
|
53
46
|
|
|
54
47
|
// ── Anti-loop: disable rules that fight @stylistic equivalents ─────────
|
|
55
48
|
'object-curly-newline': 'off',
|
package/package.json
CHANGED