@shelf/eslint-config 6.2.0 → 6.2.1

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.
@@ -9,6 +9,12 @@ export default {
9
9
  '@typescript-eslint/no-explicit-any': 'off',
10
10
  },
11
11
  },
12
+ noUnusedVarsInTypes: {
13
+ files: ['**/types.ts', '**/types/**/*.ts'],
14
+ rules: {
15
+ '@typescript-eslint/no-unused-vars': 'off',
16
+ },
17
+ },
12
18
  allowRequireInConfigs: {
13
19
  files: [
14
20
  '*wallaby.config.js',
@@ -104,6 +104,7 @@ export default [
104
104
  },
105
105
  overrides.allowRequireInConfigs,
106
106
  overrides.noExplicitsInTests,
107
+ overrides.noUnusedVarsInTypes,
107
108
  overrides.noCastWithJestMock,
108
109
  overrides.noTSRulesWithJSON,
109
110
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shelf/eslint-config",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "ESLint Config for Shelf Projects",
5
5
  "license": "MIT",
6
6
  "repository": "shelfio/eslint-config",
package/typescript.js CHANGED
@@ -143,6 +143,7 @@ export default [
143
143
  },
144
144
  overrides.allowRequireInConfigs,
145
145
  overrides.noExplicitsInTests,
146
+ overrides.noUnusedVarsInTypes,
146
147
  overrides.noCastWithJestMock,
147
148
  overrides.noTSRulesWithJSON,
148
149
  ];