@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 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
- // format/prettier is loaded by antfu internals even with formatters:false.
44
- // Configure it to AGREE with our style so it never conflicts with
45
- // style/quotes and style/semi → eliminates circular fix warnings.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archpublicwebsite/eslint-config",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "author": "Archipelago Hotels",
5
5
  "description": "Reusable ESLint flat config and git-hook toolkit for Archipelago projects",
6
6
  "type": "module",