eslint-plugin-vue
eslint-plugin-vue copied to clipboard
fix(require-explicit-slots): recognize slot names enclosed in quotes
solves https://github.com/vuejs/eslint-plugin-vue/issues/2391
-
The update now allows
node.keyto be a string, supporting bothIdentifierandLiteraltypes. It also skips over dynamic slot names sinceslotNameAttronly detects nodes withdirective: false. -
The
memberNodetype has been narrowed down to only includeTSMethodSignatureandTSPropertySignature.
foo(): anyfoo: () => any