@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.
package/package.json
CHANGED
|
@@ -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
|