mysticatea/eslint-plugin-node

For `node/shebang`, add option to disable CR check?

Open

#111 建立於 2018年3月12日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (186 fork)github user discovery
acceptedenhancementhelp wanted

倉庫指標

Star
 (956 star)
PR 合併指標
 (PR 指標待抓取)

描述

Switching between macOS and Windows, I rely on .gitattributes to perform end-of-line normalization for my source files. It is useful to have an option to disable the CR check and let .gitattributes enforce Unix linebreaks. I would like to continue benefit from other checks performed by this rule without disabling it.

I understand it's possible to configure Windows-based text editors to edit source files in Unix mode at all times; however, different contributors may have different editor preferences. I think relying .gitattributes makes a more fool proof way to enforce Unix linebreaks for a git repository. An option to disable the CR check will be greatly appreciated!

貢獻者指南