@saasmakers/eslint 1.0.0 → 1.0.2

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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.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.DITpUYTO.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.sHyLr4S9.cjs');
5
5
  require('node:process');
6
6
  require('@saasmakers/eslint');
7
7
  require('@vitest/eslint-plugin');
@@ -3941,21 +3941,30 @@ var eslint_config = antfu(
3941
3941
  pathPattern: "^(configs|networks|secrets|services|volumes)$"
3942
3942
  }, {
3943
3943
  order: [
3944
+ "container_name",
3944
3945
  "image",
3945
3946
  "build",
3947
+ "platform",
3946
3948
  "restart",
3949
+ "logging",
3947
3950
  "command",
3948
3951
  "entrypoint",
3952
+ "user",
3949
3953
  "env_file",
3950
3954
  "environment",
3951
3955
  "depends_on",
3952
3956
  "extra_hosts",
3953
3957
  "networks",
3958
+ "network_mode",
3954
3959
  "ports",
3960
+ "expose",
3955
3961
  "volumes",
3956
3962
  "configs",
3963
+ "secrets",
3957
3964
  "healthcheck",
3958
- "labels"
3965
+ "labels",
3966
+ "stop_grace_period",
3967
+ "profiles"
3959
3968
  ],
3960
3969
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
3961
3970
  }, {
@@ -4029,11 +4038,11 @@ var eslint_config = antfu(
4029
4038
  },
4030
4039
  ObjectPattern: "never",
4031
4040
  TSInterfaceBody: {
4032
- minProperties: 2,
4041
+ minProperties: 1,
4033
4042
  multiline: true
4034
4043
  },
4035
4044
  TSTypeLiteral: {
4036
- minProperties: 2,
4045
+ minProperties: 1,
4037
4046
  multiline: true
4038
4047
  }
4039
4048
  }]
@@ -3941,21 +3941,30 @@ var eslint_config = antfu(
3941
3941
  pathPattern: "^(configs|networks|secrets|services|volumes)$"
3942
3942
  }, {
3943
3943
  order: [
3944
+ "container_name",
3944
3945
  "image",
3945
3946
  "build",
3947
+ "platform",
3946
3948
  "restart",
3949
+ "logging",
3947
3950
  "command",
3948
3951
  "entrypoint",
3952
+ "user",
3949
3953
  "env_file",
3950
3954
  "environment",
3951
3955
  "depends_on",
3952
3956
  "extra_hosts",
3953
3957
  "networks",
3958
+ "network_mode",
3954
3959
  "ports",
3960
+ "expose",
3955
3961
  "volumes",
3956
3962
  "configs",
3963
+ "secrets",
3957
3964
  "healthcheck",
3958
- "labels"
3965
+ "labels",
3966
+ "stop_grace_period",
3967
+ "profiles"
3959
3968
  ],
3960
3969
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
3961
3970
  }, {
@@ -4029,11 +4038,11 @@ var eslint_config = antfu(
4029
4038
  },
4030
4039
  ObjectPattern: "never",
4031
4040
  TSInterfaceBody: {
4032
- minProperties: 2,
4041
+ minProperties: 1,
4033
4042
  multiline: true
4034
4043
  },
4035
4044
  TSTypeLiteral: {
4036
- minProperties: 2,
4045
+ minProperties: 1,
4037
4046
  multiline: true
4038
4047
  }
4039
4048
  }]
@@ -3941,21 +3941,30 @@ var eslint_config = antfu(
3941
3941
  pathPattern: "^(configs|networks|secrets|services|volumes)$"
3942
3942
  }, {
3943
3943
  order: [
3944
+ "container_name",
3944
3945
  "image",
3945
3946
  "build",
3947
+ "platform",
3946
3948
  "restart",
3949
+ "logging",
3947
3950
  "command",
3948
3951
  "entrypoint",
3952
+ "user",
3949
3953
  "env_file",
3950
3954
  "environment",
3951
3955
  "depends_on",
3952
3956
  "extra_hosts",
3953
3957
  "networks",
3958
+ "network_mode",
3954
3959
  "ports",
3960
+ "expose",
3955
3961
  "volumes",
3956
3962
  "configs",
3963
+ "secrets",
3957
3964
  "healthcheck",
3958
- "labels"
3965
+ "labels",
3966
+ "stop_grace_period",
3967
+ "profiles"
3959
3968
  ],
3960
3969
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
3961
3970
  }, {
@@ -4029,11 +4038,11 @@ var eslint_config = antfu(
4029
4038
  },
4030
4039
  ObjectPattern: "never",
4031
4040
  TSInterfaceBody: {
4032
- minProperties: 2,
4041
+ minProperties: 1,
4033
4042
  multiline: true
4034
4043
  },
4035
4044
  TSTypeLiteral: {
4036
- minProperties: 2,
4045
+ minProperties: 1,
4037
4046
  multiline: true
4038
4047
  }
4039
4048
  }]
@@ -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.DITpUYTO.mjs';
3
3
  import 'node:process';
4
4
  import '@saasmakers/eslint';
5
5
  import '@vitest/eslint-plugin';
@@ -36832,21 +36832,30 @@ const eslint_config = antfu(
36832
36832
  pathPattern: "^(configs|networks|secrets|services|volumes)$"
36833
36833
  }, {
36834
36834
  order: [
36835
+ "container_name",
36835
36836
  "image",
36836
36837
  "build",
36838
+ "platform",
36837
36839
  "restart",
36840
+ "logging",
36838
36841
  "command",
36839
36842
  "entrypoint",
36843
+ "user",
36840
36844
  "env_file",
36841
36845
  "environment",
36842
36846
  "depends_on",
36843
36847
  "extra_hosts",
36844
36848
  "networks",
36849
+ "network_mode",
36845
36850
  "ports",
36851
+ "expose",
36846
36852
  "volumes",
36847
36853
  "configs",
36854
+ "secrets",
36848
36855
  "healthcheck",
36849
- "labels"
36856
+ "labels",
36857
+ "stop_grace_period",
36858
+ "profiles"
36850
36859
  ],
36851
36860
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
36852
36861
  }, {
@@ -36920,11 +36929,11 @@ const eslint_config = antfu(
36920
36929
  },
36921
36930
  ObjectPattern: "never",
36922
36931
  TSInterfaceBody: {
36923
- minProperties: 2,
36932
+ minProperties: 1,
36924
36933
  multiline: true
36925
36934
  },
36926
36935
  TSTypeLiteral: {
36927
- minProperties: 2,
36936
+ minProperties: 1,
36928
36937
  multiline: true
36929
36938
  }
36930
36939
  }]
@@ -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.sHyLr4S9.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.sHyLr4S9.cjs', document.baseURI).href)))('typescript');
33307
33307
  } catch (_error) {
33308
33308
  return null
33309
33309
  }
@@ -36865,21 +36865,30 @@ const eslint_config = antfu__default(
36865
36865
  pathPattern: "^(configs|networks|secrets|services|volumes)$"
36866
36866
  }, {
36867
36867
  order: [
36868
+ "container_name",
36868
36869
  "image",
36869
36870
  "build",
36871
+ "platform",
36870
36872
  "restart",
36873
+ "logging",
36871
36874
  "command",
36872
36875
  "entrypoint",
36876
+ "user",
36873
36877
  "env_file",
36874
36878
  "environment",
36875
36879
  "depends_on",
36876
36880
  "extra_hosts",
36877
36881
  "networks",
36882
+ "network_mode",
36878
36883
  "ports",
36884
+ "expose",
36879
36885
  "volumes",
36880
36886
  "configs",
36887
+ "secrets",
36881
36888
  "healthcheck",
36882
- "labels"
36889
+ "labels",
36890
+ "stop_grace_period",
36891
+ "profiles"
36883
36892
  ],
36884
36893
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
36885
36894
  }, {
@@ -36953,11 +36962,11 @@ const eslint_config = antfu__default(
36953
36962
  },
36954
36963
  ObjectPattern: "never",
36955
36964
  TSInterfaceBody: {
36956
- minProperties: 2,
36965
+ minProperties: 1,
36957
36966
  multiline: true
36958
36967
  },
36959
36968
  TSTypeLiteral: {
36960
- minProperties: 2,
36969
+ minProperties: 1,
36961
36970
  multiline: true
36962
36971
  }
36963
36972
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "license": "MIT",