Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit d3af4a2

Browse files
committed
lodash shorthands don't play nice with typescript
1 parent 17ec51b commit d3af4a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/typescript.js

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ module.exports = {
187187

188188
'lodash/prefer-noop': 'off',
189189
// bad for typescript, lowers type inference
190+
'lodash/matches-prop-shorthand': ['error', 'never'],
191+
'lodash/matches-shorthand': ['error', 'never'],
190192
'lodash/prop-shorthand': ['error', 'never'],
191193

192194
// -------------------------------------------------------------------------

0 commit comments

Comments
 (0)