@niondigital/eslint-config-base 1.7.1 → 1.8.0

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 (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -36,6 +36,10 @@ module.exports = {
36
36
  'no-redeclare': 'off',
37
37
  '@typescript-eslint/no-redeclare': 'error',
38
38
 
39
+ // shadowing
40
+ 'no-shadow': 'off', // replaced by ts-eslint rule below
41
+ '@typescript-eslint/no-shadow': 'error',
42
+
39
43
  // naming conventions
40
44
  camelcase: 'off',
41
45
  'no-underscore-dangle': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@niondigital/eslint-config-base",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
4
4
  "description": "niondigital base eslint config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -64,5 +64,5 @@
64
64
  "engines": {
65
65
  "node": ">=18.0.0"
66
66
  },
67
- "gitHead": "b90e8af5363900ddce906e7132864f024680c611"
67
+ "gitHead": "c6adea444f907ee4a7e2a2f54e51a2e4328ed03b"
68
68
  }