eslint-config-seek 11.3.0 → 11.3.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.
Files changed (2) hide show
  1. package/index.js +16 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -36,6 +36,22 @@ const eslintConfig = {
36
36
  rules: {
37
37
  ...reactRules,
38
38
  },
39
+ overrides: [
40
+ {
41
+ // temporary override until everybody removes the React import
42
+ files: [`**/*.tsx`],
43
+ rules: {
44
+ '@typescript-eslint/no-unused-vars': [
45
+ ERROR,
46
+ {
47
+ argsIgnorePattern: '^_',
48
+ ignoreRestSiblings: true,
49
+ varsIgnorePattern: '^React$',
50
+ },
51
+ ],
52
+ },
53
+ },
54
+ ],
39
55
  };
40
56
 
41
57
  module.exports = eslintConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seek",
3
- "version": "11.3.0",
3
+ "version": "11.3.1",
4
4
  "description": "ESLint configuration used by SEEK",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "scripts": {
54
54
  "release": "changeset publish",
55
- "test": "eslint --config index.js . && eslint --config base.js .",
55
+ "test": "eslint . && eslint --config base.js .",
56
56
  "changeset-version": "changeset version && prettier --write ."
57
57
  }
58
58
  }