@saasmakers/eslint 0.1.51 → 0.1.53

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.
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const pluginJs = require('@eslint/js');
6
4
  const nuxt = require('@nuxt/eslint-plugin');
7
5
  const stylistic = require('@stylistic/eslint-plugin');
@@ -22489,13 +22487,14 @@ const config = [
22489
22487
  parser: tseslint__default.parser,
22490
22488
  projectService: {
22491
22489
  allowDefaultProject: [
22492
- // Could not find a nicer way to do this, feel free to improve
22490
+ // Consider a cleaner solution for specifying these default project paths.
22493
22491
  "../../../../../../../apps/web/capacitor.config.ts",
22494
22492
  "../../../../../../../apps/web/playwright.config.ts",
22495
22493
  "../../../../../../../apps/web/tests/*.spec.ts",
22496
22494
  "../../../../../../../apps/web/uno.config.ts"
22497
22495
  ]
22498
- }
22496
+ },
22497
+ tsconfigRootDir: undefined
22499
22498
  }
22500
22499
  },
22501
22500
  rules: {
@@ -22620,7 +22619,7 @@ const config = [
22620
22619
  // SaaS Makers
22621
22620
  {
22622
22621
  plugins: {
22623
- saasmakers: index.default
22622
+ saasmakers: index
22624
22623
  },
22625
22624
  rules: {
22626
22625
  "saasmakers/ts-multiline-ternary": "error",
@@ -22684,4 +22683,4 @@ const config = [
22684
22683
  }
22685
22684
  ];
22686
22685
 
22687
- exports.default = config;
22686
+ module.exports = config;
@@ -22454,13 +22454,14 @@ const config = [
22454
22454
  parser: tseslint.parser,
22455
22455
  projectService: {
22456
22456
  allowDefaultProject: [
22457
- // Could not find a nicer way to do this, feel free to improve
22457
+ // Consider a cleaner solution for specifying these default project paths.
22458
22458
  "../../../../../../../apps/web/capacitor.config.ts",
22459
22459
  "../../../../../../../apps/web/playwright.config.ts",
22460
22460
  "../../../../../../../apps/web/tests/*.spec.ts",
22461
22461
  "../../../../../../../apps/web/uno.config.ts"
22462
22462
  ]
22463
- }
22463
+ },
22464
+ tsconfigRootDir: import.meta.dirname
22464
22465
  }
22465
22466
  },
22466
22467
  rules: {
package/dist/index.cjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const utils = require('@typescript-eslint/utils');
6
4
 
7
5
  const rule$b = {
@@ -886,4 +884,4 @@ const saasmakers = {
886
884
  }
887
885
  };
888
886
 
889
- exports.default = saasmakers;
887
+ module.exports = saasmakers;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "0.1.51",
3
+ "version": "0.1.53",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "repository": {