Commits
Click on a commit to change the comparison rangefeat(linter): add `vue/no-export-in-script-setup` rule (#14307)
the original rule iterates over all the nodes, and will detect empty `ExportNamedDeclaration` (`export {}`).
I tried to use the `ModuleRecord` to simplify the implementation, but it results into different spans / results.
https://github.com/vuejs/eslint-plugin-vue/blob/553abe61c4d7a8964fb154069ea6a82d14b2b3b6/tests/lib/rules/no-export-in-script-setup.js#L220-L226
https://eslint.vuejs.org/rules/no-export-in-script-setup.html
related #11440