voss-node-configs 1.0.43 → 1.0.44
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/back-end.js +7 -0
- package/base.js +0 -9
- package/package.json +1 -1
package/back-end.js
CHANGED
|
@@ -48,4 +48,11 @@ export default [
|
|
|
48
48
|
'no-sync': 'error', // Warn about synchronous methods
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
// Override for CLI directories - allow process.exit() for proper CLI error handling
|
|
53
|
+
files: ['**/cli/**/*.ts', '**/cli/**/*.tsx', '**/cli/**/*.js', '**/cli/**/*.jsx'],
|
|
54
|
+
rules: {
|
|
55
|
+
'no-process-exit': 'off',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
51
58
|
];
|
package/base.js
CHANGED
|
@@ -67,15 +67,6 @@ export default [
|
|
|
67
67
|
'no-use-before-define': ['error', { functions: false, classes: true }],
|
|
68
68
|
'object-shorthand': ['error', 'properties'],
|
|
69
69
|
'prefer-destructuring': 'off',
|
|
70
|
-
|
|
71
|
-
'prefer-promise-reject-errors': 'error',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
// Override for CLI directories - allow graceful error handling
|
|
76
|
-
files: ['**/cli/**/*.ts', '**/cli/**/*.tsx', '**/cli/**/*.js', '**/cli/**/*.jsx'],
|
|
77
|
-
rules: {
|
|
78
|
-
'prefer-promise-reject-errors': 'off',
|
|
79
70
|
},
|
|
80
71
|
},
|
|
81
72
|
];
|