voss-node-configs 1.0.35 → 1.0.37

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.
Files changed (3) hide show
  1. package/back-end.js +1 -1
  2. package/base.js +3 -1
  3. package/package.json +1 -1
package/back-end.js CHANGED
@@ -4,7 +4,7 @@ import globals from 'globals';
4
4
  export default [
5
5
  ...baseConfig,
6
6
  {
7
- ignores: ['build/**', 'knexfile.js'], // ⛔ exclude all build output
7
+ ignores: ['build/**', 'knexfile.js', 'eslint.config.js'], // ⛔ exclude all build output
8
8
  },
9
9
  {
10
10
  files: ['**/*.mjs'],
package/base.js CHANGED
@@ -24,6 +24,7 @@ export default [
24
24
  'prettier/prettier': 'error',
25
25
 
26
26
  // Base rules for all projects
27
+ '@typescript-eslint/no-return-await': 'error',
27
28
  '@typescript-eslint/no-explicit-any': 'error',
28
29
  '@typescript-eslint/no-var-requires': 'error',
29
30
  '@typescript-eslint/no-unnecessary-condition': 'error',
@@ -37,7 +38,8 @@ export default [
37
38
  ignoreRestSiblings: false,
38
39
  },
39
40
  ],
40
- 'prefer-const': 'error',
41
+ '@typescript-eslint/require-await': 'error',
42
+
41
43
  'no-var': 'error',
42
44
  'no-console': 'off', // Allow console by default, can be overridden
43
45
  'no-debugger': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "voss-node-configs",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Shared TypeScript and ESLint configs for Node.js projects",
5
5
  "exports": {
6
6
  "./tsconfig.base": "./tsconfig.base.json",