@saasmakers/eslint 0.2.7 → 0.2.9

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.Bh1W2iVQ.cjs');
3
+ const eslint_config = require('../shared/eslint.CrpNLjWF.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 { i as isPackageExists, e as ensurePackages, b as interopDefault, p as parserPlain } from '../shared/eslint.DuJbNenz.mjs';
1
+ import { i as isPackageExists, e as ensurePackages, b as interopDefault, p as parserPlain } from '../shared/eslint.DsdMq4eR.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.Bh1W2iVQ.cjs');
3
+ const eslint_config = require('../shared/eslint.CrpNLjWF.cjs');
4
4
  require('node:process');
5
5
  require('@antfu/eslint-config');
6
6
  require('node:fs');
@@ -1,4 +1,4 @@
1
- import { r as resolveOptions } from '../shared/eslint.DuJbNenz.mjs';
1
+ import { r as resolveOptions } from '../shared/eslint.DsdMq4eR.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.CMfxPSSy.cjs');
13
13
  const require$$0$1 = require('eslint');
14
- const eslint_config = require('../shared/eslint.Bh1W2iVQ.cjs');
14
+ const eslint_config = require('../shared/eslint.CrpNLjWF.cjs');
15
15
  const node_url = require('node:url');
16
16
  const vm = require('node:vm');
17
17
  const index$1 = require('../shared/eslint.Dhg0jKDi.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.Bf7aat-e.mjs';
11
11
  import { SourceCode } from 'eslint';
12
- import { d as distExports } from '../shared/eslint.DuJbNenz.mjs';
12
+ import { d as distExports } from '../shared/eslint.DsdMq4eR.mjs';
13
13
  import { fileURLToPath } from 'node:url';
14
14
  import vm from 'node:vm';
15
15
  import { a as getDefaultExportFromCjs } from '../shared/eslint.B3ywQ3NK.mjs';
@@ -10,7 +10,7 @@ const require$$0 = require('eslint');
10
10
  const index$4 = require('../shared/eslint.CMfxPSSy.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.Bh1W2iVQ.cjs');
13
+ const eslint_config = require('../shared/eslint.CrpNLjWF.cjs');
14
14
  require('node:process');
15
15
  require('eslint/use-at-your-own-risk');
16
16
  require('../shared/eslint.CyJA7jO6.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.Bf7aat-e.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 { r as resolveOptions } from '../shared/eslint.DuJbNenz.mjs';
11
+ import { r as resolveOptions } from '../shared/eslint.DsdMq4eR.mjs';
12
12
  import 'node:process';
13
13
  import 'eslint/use-at-your-own-risk';
14
14
  import '../shared/eslint.DV_fpPxQ.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.Bh1W2iVQ.cjs');
5
+ const eslint_config = require('../shared/eslint.CrpNLjWF.cjs');
6
6
  const index$1 = require('../shared/eslint.Dhg0jKDi.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, d as distExports } from '../shared/eslint.DuJbNenz.mjs';
3
+ import { P as Parser, d as distExports } from '../shared/eslint.DsdMq4eR.mjs';
4
4
  import { a as getDefaultExportFromCjs } from '../shared/eslint.B3ywQ3NK.mjs';
5
5
  import { r as requireEstraverse } from '../shared/eslint.BtkqW7nC.mjs';
6
6
  import { r as requirePicomatch } from '../shared/eslint.Difk5awg.mjs';
@@ -13,7 +13,7 @@ const Module = require('node:module');
13
13
  const require$$1$1 = require('eslint/use-at-your-own-risk');
14
14
  const index$3 = require('../shared/eslint.BOOP2x9L.cjs');
15
15
  const index$4 = require('../shared/eslint.MfgVmFE7.cjs');
16
- const eslint_config = require('../shared/eslint.Bh1W2iVQ.cjs');
16
+ const eslint_config = require('../shared/eslint.CrpNLjWF.cjs');
17
17
  require('node:process');
18
18
  require('eslint');
19
19
  require('tty');
@@ -11,7 +11,7 @@ import { createRequire } from 'node:module';
11
11
  import require$$1$1 from 'eslint/use-at-your-own-risk';
12
12
  import { r as requireNaturalCompare } from '../shared/eslint.Dprsk9zl.mjs';
13
13
  import { r as requireRegexpp } from '../shared/eslint.W7RM7aEw.mjs';
14
- import { r as resolveOptions } from '../shared/eslint.DuJbNenz.mjs';
14
+ import { r as resolveOptions } from '../shared/eslint.DsdMq4eR.mjs';
15
15
  import 'node:process';
16
16
  import 'eslint';
17
17
  import 'tty';
@@ -16,7 +16,7 @@ const _node_path_commonjsExternal = require('../shared/eslint.BGpVg2tt.cjs');
16
16
  const require$$1$2 = require('eslint/use-at-your-own-risk');
17
17
  const require$$1$3 = require('util');
18
18
  const index$4 = require('../shared/eslint.BOOP2x9L.cjs');
19
- const eslint_config = require('../shared/eslint.Bh1W2iVQ.cjs');
19
+ const eslint_config = require('../shared/eslint.CrpNLjWF.cjs');
20
20
  require('node:process');
21
21
  require('tty');
22
22
  require('node:module');
@@ -14,7 +14,7 @@ import { a as __require$1, _ as __require$2 } from '../shared/eslint.05nu4VbT.mj
14
14
  import require$$1$2 from 'eslint/use-at-your-own-risk';
15
15
  import require$$1$3 from 'util';
16
16
  import { r as requireNaturalCompare } from '../shared/eslint.Dprsk9zl.mjs';
17
- import { r as resolveOptions, a as removeUndefined } from '../shared/eslint.DuJbNenz.mjs';
17
+ import { r as resolveOptions, a as removeUndefined } from '../shared/eslint.DsdMq4eR.mjs';
18
18
  import 'node:process';
19
19
  import 'tty';
20
20
  import 'node:module';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('@antfu/eslint-config');
4
- const eslint_config = require('./shared/eslint.Bh1W2iVQ.cjs');
4
+ const eslint_config = require('./shared/eslint.CrpNLjWF.cjs');
5
5
  require('node:process');
6
6
  require('@saasmakers/eslint');
7
7
  require('@vitest/eslint-plugin');
@@ -3934,7 +3934,7 @@ var eslint_config = antfu(
3934
3934
  files: ["**/*.compose.yml", "**/docker-compose.yml"],
3935
3935
  rules: {
3936
3936
  "yaml/sort-keys": ["error", {
3937
- order: ["name", "services", "volumes", "networks"],
3937
+ order: ["name", "services", "configs", "networks", "secrets", "volumes"],
3938
3938
  pathPattern: "^$"
3939
3939
  }, {
3940
3940
  order: [
@@ -3948,6 +3948,7 @@ var eslint_config = antfu(
3948
3948
  "depends_on",
3949
3949
  "ports",
3950
3950
  "volumes",
3951
+ "configs",
3951
3952
  "healthcheck",
3952
3953
  "networks",
3953
3954
  "labels"
@@ -3934,7 +3934,7 @@ var eslint_config = antfu(
3934
3934
  files: ["**/*.compose.yml", "**/docker-compose.yml"],
3935
3935
  rules: {
3936
3936
  "yaml/sort-keys": ["error", {
3937
- order: ["name", "services", "volumes", "networks"],
3937
+ order: ["name", "services", "configs", "networks", "secrets", "volumes"],
3938
3938
  pathPattern: "^$"
3939
3939
  }, {
3940
3940
  order: [
@@ -3948,6 +3948,7 @@ var eslint_config = antfu(
3948
3948
  "depends_on",
3949
3949
  "ports",
3950
3950
  "volumes",
3951
+ "configs",
3951
3952
  "healthcheck",
3952
3953
  "networks",
3953
3954
  "labels"
@@ -3934,7 +3934,7 @@ var eslint_config = antfu(
3934
3934
  files: ["**/*.compose.yml", "**/docker-compose.yml"],
3935
3935
  rules: {
3936
3936
  "yaml/sort-keys": ["error", {
3937
- order: ["name", "services", "volumes", "networks"],
3937
+ order: ["name", "services", "configs", "networks", "secrets", "volumes"],
3938
3938
  pathPattern: "^$"
3939
3939
  }, {
3940
3940
  order: [
@@ -3948,6 +3948,7 @@ var eslint_config = antfu(
3948
3948
  "depends_on",
3949
3949
  "ports",
3950
3950
  "volumes",
3951
+ "configs",
3951
3952
  "healthcheck",
3952
3953
  "networks",
3953
3954
  "labels"
@@ -1,5 +1,5 @@
1
1
  import '@antfu/eslint-config';
2
- export { c as default } from './shared/eslint.DuJbNenz.mjs';
2
+ export { c as default } from './shared/eslint.DsdMq4eR.mjs';
3
3
  import 'node:process';
4
4
  import '@saasmakers/eslint';
5
5
  import '@vitest/eslint-plugin';
@@ -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.Bh1W2iVQ.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.CrpNLjWF.cjs', document.baseURI).href)));
9837
9837
  try {
9838
9838
  return targetRequire.resolve(path$1, { paths });
9839
9839
  } catch {
@@ -33510,7 +33510,7 @@ function getTypescriptImport() {
33510
33510
  }
33511
33511
  hasTriedLoadingTypescript = true;
33512
33512
  try {
33513
- cachedImport = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('shared/eslint.Bh1W2iVQ.cjs', document.baseURI).href)))('typescript');
33513
+ cachedImport = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('shared/eslint.CrpNLjWF.cjs', document.baseURI).href)))('typescript');
33514
33514
  } catch (_error) {
33515
33515
  return null
33516
33516
  }
@@ -37065,7 +37065,7 @@ const eslint_config = antfu__default(
37065
37065
  files: ["**/*.compose.yml", "**/docker-compose.yml"],
37066
37066
  rules: {
37067
37067
  "yaml/sort-keys": ["error", {
37068
- order: ["name", "services", "volumes", "networks"],
37068
+ order: ["name", "services", "configs", "networks", "secrets", "volumes"],
37069
37069
  pathPattern: "^$"
37070
37070
  }, {
37071
37071
  order: [
@@ -37079,6 +37079,7 @@ const eslint_config = antfu__default(
37079
37079
  "depends_on",
37080
37080
  "ports",
37081
37081
  "volumes",
37082
+ "configs",
37082
37083
  "healthcheck",
37083
37084
  "networks",
37084
37085
  "labels"
@@ -37032,7 +37032,7 @@ const eslint_config = antfu(
37032
37032
  files: ["**/*.compose.yml", "**/docker-compose.yml"],
37033
37033
  rules: {
37034
37034
  "yaml/sort-keys": ["error", {
37035
- order: ["name", "services", "volumes", "networks"],
37035
+ order: ["name", "services", "configs", "networks", "secrets", "volumes"],
37036
37036
  pathPattern: "^$"
37037
37037
  }, {
37038
37038
  order: [
@@ -37046,6 +37046,7 @@ const eslint_config = antfu(
37046
37046
  "depends_on",
37047
37047
  "ports",
37048
37048
  "volumes",
37049
+ "configs",
37049
37050
  "healthcheck",
37050
37051
  "networks",
37051
37052
  "labels"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "license": "MIT",