@mediatool/eslint-config-mediatool 1.1.4 → 1.1.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.
Files changed (2) hide show
  1. package/.eslintrc.js +7 -1
  2. package/package.json +3 -3
package/.eslintrc.js CHANGED
@@ -89,7 +89,12 @@ const typescriptRules = {
89
89
  ],
90
90
  'import/prefer-default-export': 0,
91
91
  'no-unused-vars': 'off',
92
- '@typescript-eslint/no-unused-vars': [ 'error' ],
92
+ '@typescript-eslint/no-unused-vars': [ 'error', {
93
+ vars: 'all',
94
+ args: 'all',
95
+ argsIgnorePattern: '^_',
96
+ ignoreRestSiblings: false,
97
+ } ],
93
98
  '@typescript-eslint/semi': [ 'error', 'never' ],
94
99
  '@typescript-eslint/space-before-function-paren': [ 'error', 'always' ],
95
100
  '@typescript-eslint/no-use-before-define': [ 'error' ],
@@ -161,6 +166,7 @@ module.exports = {
161
166
  files: [ 'features/step_definitions/*.*', 'test/**/*.*' ],
162
167
  rules: {
163
168
  'prefer-arrow-callback': 'off',
169
+ 'import/no-extraneous-dependencies': 'off',
164
170
  },
165
171
  },
166
172
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediatool/eslint-config-mediatool",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "main": ".eslintrc.js",
5
5
  "scripts": {
6
6
  "pretest": "yarn",
@@ -20,7 +20,7 @@
20
20
  "typescript": "^4.6.2"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/react": "^17.0.40",
24
- "react": "^17.0.2"
23
+ "@types/react": "^18.0.14",
24
+ "react": "^18.2.0"
25
25
  }
26
26
  }