@wistia/eslint-config 0.19.0 → 0.19.2

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.
@@ -15,6 +15,7 @@ module.exports = {
15
15
  extends: [
16
16
  '../../rules/eslint/best-practices',
17
17
  '../../rules/eslint/errors',
18
+ '../../rules/eslint/filenames',
18
19
  '../../rules/eslint/style',
19
20
  '../../rules/eslint/typescript',
20
21
  '../../rules/eslint/typescript-imports',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "main": "react.js",
6
6
  "exports": {
@@ -133,11 +133,11 @@ module.exports = {
133
133
 
134
134
  // Enforce consistent usage of type imports
135
135
  // https://typescript-eslint.io/rules/consistent-type-imports
136
+ // decision: type definition imports don't evist in javascript so these should
137
+ // be considered decorative and kept separate from standard imports
136
138
  '@typescript-eslint/consistent-type-imports': [
137
139
  'error',
138
- {
139
- prefer: 'no-type-imports',
140
- },
140
+ { prefer: 'type-imports', fixStyle: 'separate-type-imports' },
141
141
  ],
142
142
 
143
143
  // Require explicit return types on functions and class methods