@shgysk8zer0/eslint-config 1.0.6 → 1.0.7

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [v1.0.7] - 2026-03-02
11
+
12
+ ### Fixed
13
+ - Export correct environment config
14
+
10
15
  ## [v1.0.6] - 2026-03-02
11
16
 
12
17
  ### Fixed
package/config.cjs CHANGED
@@ -4,7 +4,7 @@ var globals$1 = require('globals');
4
4
  var js = require('@eslint/js');
5
5
  var compat = require('@eslint/compat');
6
6
 
7
- const browser$3 = {
7
+ const browser$2 = {
8
8
  AggregateError: false,
9
9
  ElementInternals: false,
10
10
  Iterator: false,
@@ -49,7 +49,7 @@ const node$2 = {
49
49
 
50
50
  var globals = /*#__PURE__*/Object.freeze({
51
51
  __proto__: null,
52
- browser: browser$3,
52
+ browser: browser$2,
53
53
  node: node$2
54
54
  });
55
55
 
@@ -59,15 +59,15 @@ const node$1 = {
59
59
  globals: node$2,
60
60
  };
61
61
 
62
- const browser$2 = {
62
+ const browser$1 = {
63
63
  ecmaVersion: 'latest',
64
64
  sourceType: 'module',
65
- globals: browser$3,
65
+ globals: browser$2,
66
66
  };
67
67
 
68
68
  var languageOptions = /*#__PURE__*/Object.freeze({
69
69
  __proto__: null,
70
- browser: browser$2,
70
+ browser: browser$1,
71
71
  node: node$1
72
72
  });
73
73
 
@@ -84,15 +84,15 @@ const rules = {
84
84
 
85
85
  var nodeConfig = (config = {}) => ({ rules, languageOptions: node$1, ...config });
86
86
 
87
- var browser$1 = (config = {}) => ({ rules, languageOptions: browser$2, ...config });
87
+ var browserConfig = (config = {}) => ({ rules, languageOptions: browser$1, ...config });
88
88
 
89
89
  const ignoreFile = compat.includeIgnoreFile(`${process.cwd()}/.gitignore`);
90
90
 
91
91
  const node = ({ ignores = [], ...config } = {}) => [{ ignores: [...ignoreFile.ignores, ...ignores] }, nodeConfig(config)];
92
- const browser = ({ ignores = [], ...config } = {}) => [{ ignores: [...ignoreFile.ignores, ...ignores] }, nodeConfig(config)];
92
+ const browser = ({ ignores = [], ...config } = {}) => [{ ignores: [...ignoreFile.ignores, ...ignores] }, browserConfig(config)];
93
93
 
94
94
  exports.browser = browser;
95
- exports.browserConfig = browser$1;
95
+ exports.browserConfig = browserConfig;
96
96
  exports.globals = globals;
97
97
  exports.ignoreFile = ignoreFile;
98
98
  exports.languageOptions = languageOptions;
package/config.js CHANGED
@@ -6,5 +6,5 @@ export { rules } from './rules.js';
6
6
  export * as globals from './globals.js';
7
7
  export * as languageOptions from './languageOptions.js';
8
8
  export const node = ({ ignores = [], ...config } = {}) => [{ ignores: [...ignoreFile.ignores, ...ignores] }, nodeConfig(config)];
9
- export const browser = ({ ignores = [], ...config } = {}) => [{ ignores: [...ignoreFile.ignores, ...ignores] }, nodeConfig(config)];
9
+ export const browser = ({ ignores = [], ...config } = {}) => [{ ignores: [...ignoreFile.ignores, ...ignores] }, browserConfig(config)];
10
10
  export { ignoreFile, nodeConfig, browserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shgysk8zer0/eslint-config",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": " A shared ESLint config",
5
5
  "keywords": [
6
6
  "eslint",