Skip to content

【开源自荐】再来!eslint-plugin-check-file:一款 ESLint 文件夹和文件命名规则插件 #3132

@dukeluo

Description

@dukeluo

项目地址

https://github.com/DukeLuo/eslint-plugin-check-file

项目描述

eslint-plugin-check-file 提供了一组用于统一项目文件名和文件夹命名风格的 ESLint 规则,包括:

  • folder-match-with-fex:为指定文件的文件夹强制执行一致的命名模式
  • filename-naming-convention:为指定文件的文件名强制执行一致的命名模式
  • no-index: 文件名不能为 index
  • folder-naming-convention:对指定文件夹的名字强制执行一致的命名模式
  • filename-blocklist:按模式阻止文件名

上次投稿过周刊,但那次没被选上哈哈。现在过了一年多了,在社区的帮助下,插件更加完善了,月下载量也来到了近 270k。

插件登上过 Reddit JavaScript 板块第一、 被 JavaScript WeeklyNode Weekly 翻过牌子。现在再来试一试,希望能帮助到需要的人!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions