@soleil-se/eslint-config 6.2.5 → 6.2.6

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 @@ All changes in this repository are noted here.
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
  and the project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
+ ## [6.2.6] - 2025-05-23
11
+
12
+ * Add node globals to node config.
13
+ * Turn off `no-console` and `no-process-exit` in node config.
14
+
10
15
  ## [6.2.5] - 2025-05-23
11
16
 
12
17
  * Put types first in the import sort order.
package/node-config.js CHANGED
@@ -1,11 +1,21 @@
1
+ import globals from 'globals';
1
2
  import base from './config/base.js';
2
3
 
3
4
  export default [
4
5
  ...base(),
5
6
  {
7
+ name: 'soleil/node',
8
+ languageOptions: {
9
+ ecmaVersion: 'latest',
10
+ sourceType: 'module',
11
+ globals: globals.node,
12
+ },
6
13
  rules: {
7
14
  'import/extensions': ['error', 'ignorePackages', {
8
15
  js: 'always',
9
16
  }],
17
+ 'no-console': 0,
18
+ 'no-process-exit': 0,
10
19
  },
11
- }];
20
+ },
21
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleil-se/eslint-config",
3
- "version": "6.2.5",
3
+ "version": "6.2.6",
4
4
  "description": "ESLint configuration for Sitevision apps and projects.",
5
5
  "keywords": [
6
6
  "eslint",
package/typescript.js CHANGED
@@ -19,7 +19,7 @@ const importSettings = {
19
19
  'import/resolver': {
20
20
  typescript: true,
21
21
  },
22
- }
22
+ },
23
23
  };
24
24
 
25
25
  export default tseslint.config(