@saasmakers/eslint 1.0.0 → 1.0.1

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,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
3
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
4
4
  const eslintConfig_CUi9znUC = require('../shared/eslint.DDD2xc4l.cjs');
5
5
  require('node:process');
6
6
  require('@antfu/eslint-config');
@@ -1,4 +1,4 @@
1
- import { j as isPackageExists, k as ensurePackages, l as interopDefault, p as parserPlain } from '../shared/eslint.BPSuZuNl.mjs';
1
+ import { j as isPackageExists, k as ensurePackages, l as interopDefault, p as parserPlain } from '../shared/eslint.B4kWSx8Y.mjs';
2
2
  import { b as GLOB_CSS, c as GLOB_POSTCSS, d as GLOB_SCSS, e as GLOB_LESS, f as GLOB_HTML, g as GLOB_XML, h as GLOB_SVG, i as GLOB_MARKDOWN, j as GLOB_GRAPHQL } from '../shared/eslint.CUi9znUC.mjs';
3
3
  import 'node:process';
4
4
  import '@antfu/eslint-config';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
3
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
4
4
  require('node:process');
5
5
  require('@antfu/eslint-config');
6
6
  require('node:fs');
@@ -1,4 +1,4 @@
1
- import { f as resolveOptions } from '../shared/eslint.BPSuZuNl.mjs';
1
+ import { f as resolveOptions } from '../shared/eslint.B4kWSx8Y.mjs';
2
2
  import 'node:process';
3
3
  import '@antfu/eslint-config';
4
4
  import 'node:fs';
@@ -11,7 +11,7 @@ const require$$0 = require('path');
11
11
  const fs = require('node:fs');
12
12
  const index = require('../shared/eslint.7dipMixF.cjs');
13
13
  const require$$0$1 = require('eslint');
14
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
14
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
15
15
  const node_url = require('node:url');
16
16
  const vm = require('node:vm');
17
17
  const index$1 = require('../shared/eslint.Dxl4X46J.cjs');
@@ -9,7 +9,7 @@ import require$$0 from 'path';
9
9
  import fs__default from 'node:fs';
10
10
  import { d as debug, a as semverExports } from '../shared/eslint.BXzpdiiq.mjs';
11
11
  import { SourceCode } from 'eslint';
12
- import { i as distExports } from '../shared/eslint.BPSuZuNl.mjs';
12
+ import { i as distExports } from '../shared/eslint.B4kWSx8Y.mjs';
13
13
  import { fileURLToPath } from 'node:url';
14
14
  import vm from 'node:vm';
15
15
  import { a as getDefaultExportFromCjs } from '../shared/eslint.C6EaTeQZ.mjs';
@@ -10,7 +10,7 @@ const require$$0 = require('eslint');
10
10
  const index$4 = require('../shared/eslint.7dipMixF.cjs');
11
11
  const Module = require('node:module');
12
12
  const eslintConfig_CUi9znUC = require('../shared/eslint.DDD2xc4l.cjs');
13
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
13
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
14
14
  require('node:process');
15
15
  require('eslint/use-at-your-own-risk');
16
16
  require('../shared/eslint.DP_6nQqR.cjs');
@@ -8,7 +8,7 @@ import require$$0, { ESLint, Linter } from 'eslint';
8
8
  import { s as semver, d as debug$1 } from '../shared/eslint.BXzpdiiq.mjs';
9
9
  import { isBuiltin } from 'node:module';
10
10
  import { G as GLOB_SRC, a as GLOB_VUE } from '../shared/eslint.CUi9znUC.mjs';
11
- import { f as resolveOptions } from '../shared/eslint.BPSuZuNl.mjs';
11
+ import { f as resolveOptions } from '../shared/eslint.B4kWSx8Y.mjs';
12
12
  import 'node:process';
13
13
  import 'eslint/use-at-your-own-risk';
14
14
  import '../shared/eslint.B6FFUbNC.mjs';
@@ -2,7 +2,7 @@
2
2
 
3
3
  const Module = require('node:module');
4
4
  const process = require('node:process');
5
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
5
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
6
6
  const index$1 = require('../shared/eslint.Dxl4X46J.cjs');
7
7
  const estraverse = require('../shared/eslint.BL4sYiVQ.cjs');
8
8
  const index$2 = require('../shared/eslint.6MAvpL4q.cjs');
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from 'node:module';
2
2
  import { env } from 'node:process';
3
- import { P as Parser, i as distExports } from '../shared/eslint.BPSuZuNl.mjs';
3
+ import { P as Parser, i as distExports } from '../shared/eslint.B4kWSx8Y.mjs';
4
4
  import { a as getDefaultExportFromCjs } from '../shared/eslint.C6EaTeQZ.mjs';
5
5
  import { r as requireEstraverse } from '../shared/eslint.BtkqW7nC.mjs';
6
6
  import { r as requirePicomatch } from '../shared/eslint.Difk5awg.mjs';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index$2 = require('../shared/eslint.Dxl4X46J.cjs');
4
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
4
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
5
5
  const index = require('../shared/eslint.DP_6nQqR.cjs');
6
6
  const _node_path_commonjsExternal = require('../shared/eslint.BGpVg2tt.cjs');
7
7
  const require$$2$1 = require('typescript');
@@ -1,5 +1,5 @@
1
1
  import { g as getAugmentedNamespace, a as getDefaultExportFromCjs, c as commonjsGlobal } from '../shared/eslint.C6EaTeQZ.mjs';
2
- import { r as requireDist$8, a as requireDist$9, b as requireDist$a, c as requireAstUtils$1, d as requireDist$b, e as requireEslintUtils, f as resolveOptions } from '../shared/eslint.BPSuZuNl.mjs';
2
+ import { r as requireDist$8, a as requireDist$9, b as requireDist$a, c as requireAstUtils$1, d as requireDist$b, e as requireEslintUtils, f as resolveOptions } from '../shared/eslint.B4kWSx8Y.mjs';
3
3
  import { r as requireSrc, a as requireSemver } from '../shared/eslint.B6FFUbNC.mjs';
4
4
  import { _ as __require$1, a as __require$2 } from '../shared/eslint.05nu4VbT.mjs';
5
5
  import require$$2$1 from 'typescript';
@@ -3,7 +3,7 @@
3
3
  const index$1 = require('../shared/eslint.Dxl4X46J.cjs');
4
4
  const _commonjsDynamicModules = require('../shared/eslint.DUamuDzp.cjs');
5
5
  const require$$0 = require('path');
6
- const eslint_config = require('../shared/eslint.oAo1zUPJ.cjs');
6
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
7
7
  const require$$2$1 = require('assert');
8
8
  const index$3 = require('../shared/eslint.DP_6nQqR.cjs');
9
9
  const estraverse = require('../shared/eslint.BL4sYiVQ.cjs');
@@ -1,7 +1,7 @@
1
1
  import { g as getAugmentedNamespace$1, a as getDefaultExportFromCjs$1, r as requireEslintUtils } from '../shared/eslint.C6EaTeQZ.mjs';
2
2
  import { c as commonjsRequire } from '../shared/eslint.COweQ1RR.mjs';
3
3
  import require$$0 from 'path';
4
- import { g as requireEslintVisitorKeys, f as resolveOptions, h as removeUndefined } from '../shared/eslint.BPSuZuNl.mjs';
4
+ import { g as requireEslintVisitorKeys, f as resolveOptions, h as removeUndefined } from '../shared/eslint.B4kWSx8Y.mjs';
5
5
  import require$$2$1 from 'assert';
6
6
  import { r as requireSrc, a as requireSemver } from '../shared/eslint.B6FFUbNC.mjs';
7
7
  import { r as requireEstraverse } from '../shared/eslint.BtkqW7nC.mjs';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('@antfu/eslint-config');
4
- const eslint_config = require('./shared/eslint.oAo1zUPJ.cjs');
4
+ const eslint_config = require('./shared/eslint.BHA6t2Iw.cjs');
5
5
  require('node:process');
6
6
  require('@saasmakers/eslint');
7
7
  require('@vitest/eslint-plugin');
@@ -4029,11 +4029,11 @@ var eslint_config = antfu(
4029
4029
  },
4030
4030
  ObjectPattern: "never",
4031
4031
  TSInterfaceBody: {
4032
- minProperties: 2,
4032
+ minProperties: 1,
4033
4033
  multiline: true
4034
4034
  },
4035
4035
  TSTypeLiteral: {
4036
- minProperties: 2,
4036
+ minProperties: 1,
4037
4037
  multiline: true
4038
4038
  }
4039
4039
  }]
@@ -4029,11 +4029,11 @@ var eslint_config = antfu(
4029
4029
  },
4030
4030
  ObjectPattern: "never",
4031
4031
  TSInterfaceBody: {
4032
- minProperties: 2,
4032
+ minProperties: 1,
4033
4033
  multiline: true
4034
4034
  },
4035
4035
  TSTypeLiteral: {
4036
- minProperties: 2,
4036
+ minProperties: 1,
4037
4037
  multiline: true
4038
4038
  }
4039
4039
  }]
@@ -4029,11 +4029,11 @@ var eslint_config = antfu(
4029
4029
  },
4030
4030
  ObjectPattern: "never",
4031
4031
  TSInterfaceBody: {
4032
- minProperties: 2,
4032
+ minProperties: 1,
4033
4033
  multiline: true
4034
4034
  },
4035
4035
  TSTypeLiteral: {
4036
- minProperties: 2,
4036
+ minProperties: 1,
4037
4037
  multiline: true
4038
4038
  }
4039
4039
  }]
@@ -1,5 +1,5 @@
1
1
  import '@antfu/eslint-config';
2
- export { m as default } from './shared/eslint.BPSuZuNl.mjs';
2
+ export { m as default } from './shared/eslint.B4kWSx8Y.mjs';
3
3
  import 'node:process';
4
4
  import '@saasmakers/eslint';
5
5
  import '@vitest/eslint-plugin';
@@ -36920,11 +36920,11 @@ const eslint_config = antfu(
36920
36920
  },
36921
36921
  ObjectPattern: "never",
36922
36922
  TSInterfaceBody: {
36923
- minProperties: 2,
36923
+ minProperties: 1,
36924
36924
  multiline: true
36925
36925
  },
36926
36926
  TSTypeLiteral: {
36927
- minProperties: 2,
36927
+ minProperties: 1,
36928
36928
  multiline: true
36929
36929
  }
36930
36930
  }]
@@ -9833,7 +9833,7 @@ function _resolve(path$1, options = {}) {
9833
9833
  const paths = options.paths || [];
9834
9834
  if (paths.length === 0)
9835
9835
  paths.push(process__default.cwd());
9836
- const targetRequire = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('shared/eslint.oAo1zUPJ.cjs', document.baseURI).href)));
9836
+ const targetRequire = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('shared/eslint.BHA6t2Iw.cjs', document.baseURI).href)));
9837
9837
  try {
9838
9838
  return targetRequire.resolve(path$1, { paths });
9839
9839
  } catch {
@@ -33303,7 +33303,7 @@ function getTypescriptImport() {
33303
33303
  }
33304
33304
  hasTriedLoadingTypescript = true;
33305
33305
  try {
33306
- cachedImport = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('shared/eslint.oAo1zUPJ.cjs', document.baseURI).href)))('typescript');
33306
+ cachedImport = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('shared/eslint.BHA6t2Iw.cjs', document.baseURI).href)))('typescript');
33307
33307
  } catch (_error) {
33308
33308
  return null
33309
33309
  }
@@ -36953,11 +36953,11 @@ const eslint_config = antfu__default(
36953
36953
  },
36954
36954
  ObjectPattern: "never",
36955
36955
  TSInterfaceBody: {
36956
- minProperties: 2,
36956
+ minProperties: 1,
36957
36957
  multiline: true
36958
36958
  },
36959
36959
  TSTypeLiteral: {
36960
- minProperties: 2,
36960
+ minProperties: 1,
36961
36961
  multiline: true
36962
36962
  }
36963
36963
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "license": "MIT",