@saasmakers/eslint 0.1.30 → 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.
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const pluginJs = require('@eslint/js');
6
+ const nuxt = require('@nuxt/eslint-plugin');
6
7
  const stylistic = require('@stylistic/eslint-plugin');
7
8
  const unocss = require('@unocss/eslint-config/flat');
8
9
  const eslintMergeProcessors = require('eslint-merge-processors');
@@ -34,6 +35,7 @@ require('@typescript-eslint/utils');
34
35
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
35
36
 
36
37
  const pluginJs__default = /*#__PURE__*/_interopDefaultCompat(pluginJs);
38
+ const nuxt__default = /*#__PURE__*/_interopDefaultCompat(nuxt);
37
39
  const stylistic__default = /*#__PURE__*/_interopDefaultCompat(stylistic);
38
40
  const unocss__default = /*#__PURE__*/_interopDefaultCompat(unocss);
39
41
  const nodeEslint__default = /*#__PURE__*/_interopDefaultCompat(nodeEslint);
@@ -22558,6 +22560,21 @@ const config = [
22558
22560
  ]
22559
22561
  }
22560
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
+ },
22561
22578
  // Package JSON
22562
22579
  packageJson__default.configs["recommended-publishable"],
22563
22580
  packageJson__default.configs.stylistic,
@@ -1,4 +1,5 @@
1
1
  import pluginJs from '@eslint/js';
2
+ import nuxt from '@nuxt/eslint-plugin';
2
3
  import stylistic from '@stylistic/eslint-plugin';
3
4
  import unocss from '@unocss/eslint-config/flat';
4
5
  import { mergeProcessors } from 'eslint-merge-processors';
@@ -22527,6 +22528,21 @@ const config = [
22527
22528
  ]
22528
22529
  }
22529
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
+ },
22530
22546
  // Package JSON
22531
22547
  packageJson.configs["recommended-publishable"],
22532
22548
  packageJson.configs.stylistic,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@eslint/js": "9.39.2",
35
- "@nuxt/eslint-config": "1.12.1",
35
+ "@nuxt/eslint-plugin": "1.12.1",
36
36
  "@stylistic/eslint-plugin": "5.6.1",
37
37
  "@typescript-eslint/utils": "8.51.0",
38
38
  "@unocss/eslint-config": "66.5.12",