Skip to main content

eslint-plugin-vue-unused-autofix

github.com

一个 ESLint 插件,自动移除 Vue 项目中未使用的组件和属性,扩展了 eslint-plugin-vue 的功能,支持自动修复未使用的 props 和 Vuex 映射属性。

Developer Tools & APIsOpen source#eslint#vue#linting
Visit website
eslint-plugin-vue-unused-autofix preview

项目地址:eslint-plugin-vue-unused-autofix项目介绍:扩展 eslint-plugin-vue 的 no-unused-components 和 no-unused-properties 规则,实现自动修复项目中可能因为历史原因,遗留了很多未使用的属性,eslint-plugin-vue 只是进行提示而已,没有自动移除,一个个删除也很麻烦,所以进行扩展,让 eslint autofix。注意:no-unused-properties 只对 props 和 mapState|mapGetters|mapMutations|mapActions 有效,因为 data,computed 和 methods 有可能被其他组件使用。

More in Developer Tools & APIs

SolveHub

API for CAPTCHA and anti-bot tasks in authorized testing

Dev Tools ·

liarjs.dev

Scanner that cross-checks browser JavaScript fingerprint against network layer

Dev Tools ·

AntiBrow

Antidetect browser for managing multiple browser identities with real-device

Dev Tools ·

HostlessWP

Open source CLI to move WordPress to Cloudflare Workers

Dev Tools ·

deed.page

Permanent web hosting with an API for AI agents

Dev Tools ·

Rowflare

Open-source Airtable alternative running on your Cloudflare account

Dev Tools ·