@saasmakers/eslint 0.1.31 → 0.1.32

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.
@@ -22560,6 +22560,21 @@ const config = [
22560
22560
  ]
22561
22561
  }
22562
22562
  },
22563
+ // Nuxt
22564
+ {
22565
+ files: [
22566
+ "apps/web/**/*.{ts,vue}",
22567
+ "packages/ui/**/*.{ts,vue}"
22568
+ ],
22569
+ plugins: {
22570
+ nuxt: nuxt__default
22571
+ },
22572
+ rules: {
22573
+ "nuxt/no-nuxt-config-test-key": "error",
22574
+ "nuxt/nuxt-config-keys-order": "error",
22575
+ "nuxt/prefer-import-meta": "error"
22576
+ }
22577
+ },
22563
22578
  // Package JSON
22564
22579
  packageJson__default.configs["recommended-publishable"],
22565
22580
  packageJson__default.configs.stylistic,
@@ -22635,19 +22650,6 @@ const config = [
22635
22650
  "n/no-unsupported-features/node-builtins": "off",
22636
22651
  "vue/multi-word-component-names": "off"
22637
22652
  }
22638
- },
22639
- // Nuxt
22640
- {
22641
- files: [
22642
- "apps/web/**/*.{ts,vue}",
22643
- "packages/ui/**/*.{ts,vue}"
22644
- ],
22645
- plugins: {
22646
- nuxt: nuxt__default
22647
- },
22648
- rules: {
22649
- ...nuxt__default.configs?.recommended?.rules
22650
- }
22651
22653
  }
22652
22654
  ];
22653
22655
 
@@ -22528,6 +22528,21 @@ const config = [
22528
22528
  ]
22529
22529
  }
22530
22530
  },
22531
+ // Nuxt
22532
+ {
22533
+ files: [
22534
+ "apps/web/**/*.{ts,vue}",
22535
+ "packages/ui/**/*.{ts,vue}"
22536
+ ],
22537
+ plugins: {
22538
+ nuxt
22539
+ },
22540
+ rules: {
22541
+ "nuxt/no-nuxt-config-test-key": "error",
22542
+ "nuxt/nuxt-config-keys-order": "error",
22543
+ "nuxt/prefer-import-meta": "error"
22544
+ }
22545
+ },
22531
22546
  // Package JSON
22532
22547
  packageJson.configs["recommended-publishable"],
22533
22548
  packageJson.configs.stylistic,
@@ -22603,19 +22618,6 @@ const config = [
22603
22618
  "n/no-unsupported-features/node-builtins": "off",
22604
22619
  "vue/multi-word-component-names": "off"
22605
22620
  }
22606
- },
22607
- // Nuxt
22608
- {
22609
- files: [
22610
- "apps/web/**/*.{ts,vue}",
22611
- "packages/ui/**/*.{ts,vue}"
22612
- ],
22613
- plugins: {
22614
- nuxt
22615
- },
22616
- rules: {
22617
- ...nuxt.configs?.recommended?.rules
22618
- }
22619
22621
  }
22620
22622
  ];
22621
22623
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "repository": {