@wistia/eslint-config 0.19.2 → 0.19.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "main": "react.js",
6
6
  "exports": {
@@ -47,7 +47,7 @@
47
47
  "eslint-plugin-jest": "^27.2.1",
48
48
  "eslint-plugin-jest-dom": "^4.0.3",
49
49
  "eslint-plugin-jest-formatting": "^3.1.0",
50
- "eslint-plugin-jsdoc": "^41.1.0",
50
+ "eslint-plugin-jsdoc": "^43.0.0",
51
51
  "eslint-plugin-jsx-a11y": "^6.7.1",
52
52
  "eslint-plugin-no-only-tests": "^3.1.0",
53
53
  "eslint-plugin-no-snapshot-testing": "^1.0.61",
@@ -58,7 +58,7 @@
58
58
  "eslint-plugin-react-hooks": "^4.6.0",
59
59
  "eslint-plugin-sonarjs": "^0.19.0",
60
60
  "eslint-plugin-storybook": "^0.6.11",
61
- "eslint-plugin-styled-components-a11y": "^0.1.0",
61
+ "eslint-plugin-styled-components-a11y": "^2.0.0",
62
62
  "eslint-plugin-testing-library": "^5.10.2",
63
63
  "postcss": "^8.4.21",
64
64
  "postcss-scss": "^4.0.6",
@@ -125,7 +125,9 @@ module.exports = {
125
125
 
126
126
  // Enforce type definitions to consistently use either <code>interface</code> or <code>type</code>
127
127
  // https://typescript-eslint.io/rules/consistent-type-definitions
128
- '@typescript-eslint/consistent-type-definitions': 'off',
128
+ // decision: prefer type to interface for consistency; type is more flexible, but
129
+ // on the other hand, interface is potentially more familiar so they can override if necessary
130
+ '@typescript-eslint/consistent-type-definitions': ['error', 'type'],
129
131
 
130
132
  // Enforce consistent usage of type exports
131
133
  // https://typescript-eslint.io/rules/consistent-type-exports